support for email-attachments
renaming a variable
Merge pull request #171 from dimagi/email-attach

support for email-attachments