AI can automate A/B testing in email marketing by testing different email variations and using machine learning algorithms to determine which variations are most effective.