To get a valid token / api key, log-in to your Modoboa instance with a super administrator, go to Settings > API and activate the API access. Press the Update button and wait until the page is reloaded, the token will be displayed.

WP Email Manager makes it a breeze to create domain based email accounts from WordPress while integrating with Cloudflare DNS, WP Multisite, WP Ultimo, WooCommerce, MXroute, cPanel, DirectAdmin, 20i / StackCP, Mailcow, VestaCP, HestiaCP, Plesk & much more.