emails for development

Prevent sending emails for development. The email's info is displayed in console.