Added emails utility function. Marked result of html traceback function as safe.