Making secret adjustable by env variable
Adding a test for the sending of the email