// function that sends the mail