Here are some tips on how to write an official email to thank colleagues for their support and guidance before leaving a company:
Start by addressing your email to the appropriate people. This could be your direct manager, team, or company.
In the body of your email, express your gratitude for...