LLM plugins should be available in standard spamfilters like Rspamd. Some mail servers like Stalwart have it as well. You pick a prompt and provide it with an OpenAI-compatible endpoint and it'll ask the AI for every mail. Can be a local model.
Not sure if it's in the Email clients as well. I found a few Thunderbird addons, but that was just a quick Google search.