email verification is now working with attachments