renamed attachment to email_attachment to make it CLS compliant