Exactly what I was going to suggest Winter. If you're comfortable make a time to go in and let your boss know face to face, but have the letter all written and ready to hand over so there is absolutely no room for them to try and negotiate.

I'm going to be in a similar boat in a few months time and I'm fairly sure I won't be returning.

Good luck!