Using mail_preview gem to test email templates. Configured mail_preview routes only for development environment.