SMTP Authentication Methods
Motorical supports multiple authentication methods to match your security requirements and use case.
Method Comparison
| Method | Best For | Setup Time | Security Level | Technical Level |
|---|---|---|---|---|
| 🟢 Basic Auth | Email clients, scripts, general use | 2 min | ★★★☆☆ | Beginner |
| 🔵 API Key | Web apps, REST APIs, automation | 2 min | ★★★★☆ | Developer |
| 🟣 OAuth 2.0 | Enterprise SaaS, multi-user apps | 10 min | ★★★★★ | Advanced |
| 🔴 mTLS | High-security, compliance, fintech | 15 min | ★★★★★ | Expert |
Basic Authentication
The simplest method — use your Motor Block username and password.
Configuration:
SMTP Server: mail.motorical.com
Port: 2587 (or 587)
Security: STARTTLS
Username: [your-motor-block-username]
Password: [generated-password]
Best for: Personal projects, email client setup (Gmail, Outlook, Thunderbird), testing, legacy systems.
API Key Authentication
Token-based authentication where the API key is used as the SMTP password. Tokens are revokable without changing your main credentials.
SMTP Usage:
Username: your_motor_block_username
Password: your_api_key (used as password)
HTTP API Usage:
POST https://api.motorical.com/v1/send
Authorization: Bearer your-api-key
Content-Type: application/json
{
"subject": "Test Email",
"text": "Hello from Motorical!"
}
Advanced features: Per-key rate limiting, usage analytics, webhook notifications, template support.
OAuth 2.0 (Coming Soon)
Enterprise-grade authorization with automatic token refresh, granular permission scopes, and audit logging.
Flow:
- Get authorization URL
- User authorizes access
- Exchange code for tokens
- Use access token for SMTP
Best for: Enterprise SaaS, multi-user applications, compliance-heavy environments.
Mutual TLS (mTLS)
Certificate-based mutual authentication for maximum security. Both client and server verify each other's identity.
Setup:
- Download certificate bundle from your Motor Block settings
- Extract client certificate and key
- Configure your SMTP client with the certificate files
openssl s_client -connect mail.motorical.com:2587 \
-cert your_client.crt \
-key your_client.key \
-verify 3 -showcerts
Features:
- Zero-trust network compatible
- SOC 2, HIPAA ready
- Hardware Security Module (HSM) support
- Automatic certificate lifecycle management
Best for: Financial services, healthcare, compliance-mandated environments.