add new api to send email