If the class is called Email, we should name our variable $objEmail
Implemented email functionality from mailtemplates extension