resolving mailer issues