Adding initial version, TODO: Send mail with SMTP