Added mailer. Fixed scope.