Say it first
Open with the cancelled class and the time.
Give the reason briefly
A short honest reason is enough.
Offer options
Suggest the next class or a credit.
Handle booked credits
Say how credits or passes are returned.
Apologise once
One sincere line, not a paragraph.
Send it everywhere
Use email and your booking page notice.