@robi In assumption that there is already at least one domain, the code to add a mailbox for a user is already there --> API documentation of Cloudron.

To implement such feature you would need a checkbox like "create email address", a drop down menu that lists all domains (with mailserver enabled?) and a field for the inbox name.