How do I control the offline storage settings since Trident (macOS) occupies more memory in my hard drive?

How do I control the offline storage settings since Trident (macOS) occupies more memory in my hard drive?

The app does not currently offer fine-grained options to manage offline storage for specific folders when email synchronization is enabled. However, the Disable Offline Mail option (Mail Account > right-click > Disable Offline Mail) will clear the downloaded emails from the database, free up space, and automatically pause sync.
Idea
Tip: Explore other ways to manage and reclaim disk space

Info
Learn more about Offline Mail.