Adding support for html emails