modify model and add db mail to config.py