add download email logic
update send email logic