use MailException plugin
use customized error pages for production mode