added Mail class
Merge pull request #4 from Juandesi/mail-db-branch

added Mail class