Needs work on getting email attachments