It seems to be a known issue.
Somebody proposed a workaround here, you can take a look:
Post HTML email with datatable but doesn’t contain header - Help / Studio - UiPath Community Forum
It basically creates a fake row as a first row, which will be skipped. Your header will be shifted to 2nd row and displayed as a header. Quite annoying, but it should work.
1 Like