I now work directly with our marketing team, but they hire out to vendors for the email marketing bits, the retargeting and ad spends. I just provide my 2 cents every now and then and go back to developing in house products.
You might be about staying away from that sort of thing on principle but there's another angle. Being the one making those decisions, you have the ability to reduce the short- and long-term harm they make by picking good strategies. Schemes in marketing and driving profit up are inevitable. What's not inevitable in general is inaccurate information, highly-biased profiling, products that don't work (or do harm), customers getting fewer products than they want, technological lock-in, and so on.
Consider getting with the right companies pushing a collection of useful products or less harmful services vs other garbage on the market. Then all your schemes and optimizations would be benefiting people since the right companies would be benefiting. Companies you can vouch for. Best if they've been in business over a decade with good practices and/or are a non-profit with sustainable revenues. Just a thought.
I was a product developer for 8 years. Developing tools in the SEO, Reputation Management and Email Marketing space. Eventually you find little tricks that just work across the board.
Then I left that job for corporate america and I regret it every day.