04 add function to execute sending mail