sending mail, closes #4