changed db to postgresql
added mail config

dealing with mail setting
dealing with mail setting
removed useless migration and setting AA