Adding support for email attachments.