Test Attachemnts in email_data
Modified Switch statement
Modified Switch statement