Added configs to send mails and the respective class. Needs to be finished.