Adds mock smtplib for testing mail
Tests for mail api added