I suggest you make a small complete example (e.g. using sashelp,class) and post it, so that people can try it and play with it.
Are you using ODS HTML? HTML5? something else?
Without an example, it's hard to know whether it's an issue with your code, the style template, or outlook's interpretation of the file.
If you're using ODS HTML or ODS RTF, you could start by getting it working correctly with the output file (viewed in browser/word whatever). Then you can insert that output file into the email and see what outlook does to it.
But you may need to be flexible. You could be in a situation where outlook interprets something differently than your browser. Just like there are differences among browsers.
BASUG is hosting
free webinars Next up:
Mike Raithel presenting on validating data files on Wednesday July 17. Register now at the Boston Area SAS Users Group event page:
https://www.basug.org/events.