modified mailer interceptor