Added the Mail sending functionality.
Mails are being sent using the public function,
the tracker table gets updated with a new entry before the email is sent
after the email is sent, the time stamp and status is updated.