Nervous to tell work my maternity leave plan

My doctor told me today that due to my high risk pregnancy and the fact that I will be have 3 doctor appointments per week starting at 32 weeks she is going to take me out of work at 32 weeks. I have to tell my work tomorrow that my maternity leave will start in July 6th even though my due date is September 4th and I know they’re going to be jerks about it. I’m feeling really anxious about it 😞

I typed up a letter and going to give it to them tomorrow. How did you tell your work your maternity leave plan?