finalized mail sending methods, testing is pending