fix unpaired <ul> in email HTML