add sending email foundtion to production environment