Someone who has returned to a job only to quit a second time can make use of this resignation letter.
Dear Mr./Ms. Bossname,
I see now that my first instinct was correct. I don’t belong at XYZ Company, and will be resigning effective in two weeks.
I hope there are no hard feelings. I appreciate you asking me back on the team. I really thought it could work, given the new working conditions and salary adjustment. Unfortunately, the issues that led me to leave in the first place are still preventing me from doing my best work here at XYZ.
Thank you again for the opportunity.
Sincerely,
Your Name