Small program to send emails in an automate way