Auto email sending added