It's not going to be a formal letter. This letter is going to be a warm appreciation from your side. If you want, you can even make this letter formal but that all depends on your relationship with your colleagues. Traditionally, the letter has is addressed by "dear coworkers" you can even write "hello fellows" or .