Adjusted the automated email mailer