Updated mailer so app can receive mail