← All projects

Email deliverability · Admin portal

MX to China

MX to China delivers business email reliably in China and Europe. The admin portal handles the whole onboarding: creating a customer, checking and connecting their sender domains, and provisioning the SMTP account on the mail platform. Partners and customers see their own data.

Client

MX to China, an email relay service for delivery to China and Europe

Our role

Design and build of the admin portal and the integration with the mail platform

Stack

PHP 8.1, Laravel 10, Laravel Nova 4, Spatie Permission

Period

February – April 2024, delivered

The question

Connecting a new customer to a mail platform is a series of manual steps: create an SMTP account, hand over the password securely, check the DNS settings of every domain and attach the domain to the right sending queue. That is error-prone, and one misconfigured domain damages delivery reputation.

MX to China also works with partners who bring in their own customers. They need to look on without seeing each other’s customers.

What we built

  • Customer management. Per customer the type of sending (to China or to Europe), the contract period (monthly, quarterly or yearly), the start date, an external customer number and separate contact addresses for technical, reporting and the customer themselves.
  • Automatic provisioning. As soon as a customer is saved, the portal creates the SMTP account on the mail platform. The technical contact receives the credentials by email, with a copy to the administrator who created the customer.
  • Domains with DNS checks. A domain is only accepted when its SPF record points to MX to China and a DMARC record exists. If not, the administrator sees immediately what is missing.
  • Sending queues. Every domain is attached to a queue: China or Europe, in the tiers Bronze, Silver, Gold and Platinum. When a domain changes queue, the change goes straight through to the mail platform.
  • In sync with the platform. Creating, changing and deleting customers and domains is pushed through immediately. Portal and mail platform never drift apart.
  • Notes. A log of notes per customer, automatically attributed to the author.

Three roles, one portal

  • Administrator. Full management of partners, customers, domains, queues and users.
  • Partner. Sees only their own customers and domains, without being able to change them.
  • Customer. Has their own login, restricted to their own data.

The separation sits on two layers: in the permissions per role and in the queries themselves. A partner does not get to see another’s customers even if a permission is set wrongly.

Security and quality

  • Two-factor authentication on the admin panel.
  • Roles and permissions per component (view, create, update, delete) with Spatie Permission.
  • A policy per data model, so every action is checked.
  • Unique domains and SMTP usernames, enforced in the database.
  • Laravel Pint for code style and a release script for deployment.
Screens1 / 4
Screenshot to follow
Customer overview with sending type and contract period
Screenshot to follow
Domains with SPF and DMARC checks
Screenshot to follow
Sending queues: China or Europe, Bronze to Platinum
Screenshot to follow
Partner view: own customers only, read-only
Next project

HelloGeorge

View

© 2026 BlueConsult B.V. · Privacy statement · Support