Display mails as messages only for test emails.

Closes #3254419

Merge request reports

Loading