modify for vega pentech and send email with attachment