Dear Mr./Ms. Bossname,
Please accept my resignation, effective two weeks from today.
I have accepted a position at Widgets United. As you know, it’s a union shop, and for a variety of reasons, it’s been a goal of mine to work in a union-backed position. The protections provided by organized labor are just too good to pass up.
I appreciate everything I’ve learned here, and thank you specifically for your guidance.