Add Account Modal — Both Type Variants

Left: Microsoft 365 (Azure AD) fields. Right: SMTP fields. The type dropdown switches which fields appear. Account name is a slug used in code.

Add Mail Account — Microsoft 365
Account Name (used in code)
customer-support
Lowercase, hyphens only. Used as Mail::mailer('customer-support')
Type
✉️ Microsoft 365 (Azure AD)
Azure AD Credentials
Tenant ID
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client ID
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client Secret
•••••••••••• Show
Sender
From Address
support@steelco.com
From Name (optional)
SteelERP
🔗 Test Connection
Cancel
Save Account
Add Mail Account — SMTP
Account Name (used in code)
invoices
Lowercase, hyphens only. Used as Mail::mailer('invoices')
Type
📧 SMTP
SMTP Server
Host
smtp.gmail.com
Port
587
Encryption
TLS
Username
invoices@steelco.com
Password
•••••••••••• Show
Sender
From Address
invoices@steelco.com
From Name (optional)
SteelERP Invoices
🔗 Test Connection
Cancel
Save Account

Both variants use the same modal shell — only the credential section changes based on the Type dropdown. Does this look right? Let me know in the terminal.