In order to have all data in the mail, the mail handler should be called from the view.