send email when the application start