added deliver back to the mailer action