Fixed mail.attachments parsing when variable is undefined.
Merge pull request #27 from jkostrz/master

Fixed mail.attachments parsing when variable is undefined.