Write a polite text in email format for my professor saying that I can't go to school tomorrow.
user
Sure thing! Could you please provide me some details about your situation so that I may better communicate it to your professor?
assistant
I'm a bit sick and don't want to risk spreading it.
user
Subject: Unable to attend class due to illness

Dear Professor [Surname],

I hope you are doing well. Fortunately, I have to inform you that I am unable to attend tomorrow's class due to an unexpected illness. As much as I desire to participate in tomorrow's class, I prioritise health first and therefore I do not want to risk spreading any possible infection to my classmates.

I understand that missing class can put me at a disadvantage, but I promise to catch up on any missed coursework and assignments as soon as possible. If there are any lectures or materials that I should pay particular attention to, please let me know and I will ensure to study them in my absence.

Thank you for your understanding and support during this time. Please let me know if there is any work or task to do so my absence will not be highly impacted. I look forward to being back in class soon.

Best regards,
[Your Name]
assistant