working on adding mail support to the flask application.