send email with attachment: gamma version