Dear [Supervisor or Supervisor],
Kindly accept this urgent notice of my resignation. I will be able to work until [date of final work day].
I am very sorry that I was not able to give 2 weeks of notice. But I feel very unhappy and distressed with the manner that [name of person/people involved] [are/is] unprofessionally treating me. I think that I could no longer stay in this job for 2 more weeks without a dispute. Actually, I’m sure that the remaining week of my stay will be very challenging, but I know that resigning without notice is not proper and professional.