Added function for sending an email
Added test settings for email
added dummy database setup