Updated action mailer settings to ignore test environment