Extract attachments from email messages