Add alembic migration
Add the use of username, if defined, for mail retrieving