Saw this example, and decided to show you and discuss it.
https://github.com/protonemedia/eddy-server-management/blob/main/app/Mail/ServerProvisioned.php