update for html emails