elastic email enhanced to handle attachments