Mail config issue

API-based example here: Make onboarding emails also work via API (not only SMTP)