Merge pull request #26 from leonidez/working

migrate db from sqlite3 to postgres
create mailer