small fixes in email
Merge pull request #224 from matiu/bug/email

small fixes in email