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 ! Check out recordings of our past webinars:
https://www.basug.org/videos. Save the date for our
in person SAS Blowout on Oct 18 in Cambridge, MA. Registration opens in September.