Prevent mails in test environment