Adding HTML formatted emails and other func

Signed-off-by: Dileep Mishra <Dileep.Mishra@kony.com>