[TASK] Improve the mailer configuration.

- Raise delivery errors in development mode.
- Use SMTP in development and production mode.
Merge pull request #17 from braingourmets/task/mailer-configuration

[TASK] Improve the mailer configuration.