email sending with attachment works
merged