add email sending script