I've been in my position for only 5 months (4 total years at the company), and I have found new employment. My last day is in a week, and I'm drafting a goodbye email to my team to let them know. (I gave notice to my manager a while ago.)
To be professional, I've written the following:
While I've only been with the team for a few months, it has been a very valuable experience for me. Thank you all for ________
But one of the reasons why I'm leaving is because it became very clear that I am a bad cultural and skill fit for this team. So it seems disingenuous to thank them for anything. I could be honest and say something like "thank you for showing me what I do and don't want for my career" or something, but anything that's honest and fits in that blank seems unprofessional or petty. (I really do appreciate my time with this group, it has taught me a lot about how I best operate.)
How can I word this goodbye email to be professional, polite, and without being dishonest?