add sending mail function