Check if there is an attachment in the mail because of a warning when there is no attachment