If `MAIL_SERVER` details aren't configured, flask runserver throws exception.