If the AC smells like mildew after heavy rain, moisture may be entering ducts or the drain system
https://emergencyhvac298.urbanvellum.com/posts/ac-not-working-in-winter-haven-here-s-who-to-call-next
If the AC smells like mildew after heavy rain, moisture may be entering ducts or the drain system. Inspect for obvious water intrusion and have the system cleaned.