Adds send html email function