Email Office365
Simplify your email workflow with our powerful Office365 plugin for Grav CMS, offering seamless Microsoft OAuth2 integration for secure, reliable email delivery. Say goodbye to insecure SMTP passwords and enjoy modern authentication that never expires, with an easy setup process that guides you through Microsoft Azure configuration in minutes.
- Secure OAuth2 Authentication - Eliminate insecure SMTP passwords with Microsoft's modern authentication protocol that keeps your email credentials safe and protected.
- Simple Azure Integration - Easy-to-follow setup process with Azure AD, complete with redirect URI configuration and token management handled automatically.
- Auto-Refresh Tokens - Never worry about expiring credentials again, as tokens are automatically refreshed in the background without manual intervention.
- One-Click Authorization - Get started quickly with a streamlined authorization flow that requires minimal technical knowledge to implement.
- Test Email Functionality - Verify your setup instantly with built-in test email capability that confirms your configuration is working correctly.
- Clipboard Integration - Conveniently copy configuration details with one click, making Azure setup and troubleshooting faster and error-free.
Simple Setup
Just fill in your Azure AD application credentials and click "Get Access Tokenb". The plugin handles the rest, including token management and email sending. You can test with our handy-dandy "Send Test Email" functionality

Frequently Asked Questions
The most commonly asked questions about the Email Office365 plugin
-
Yes, Email Office365 automatically refreshes the access token in the background, so you never have to worry about expired credentials.
-
Yes, you need an active Office365 or Microsoft 365 subscription with Exchange Online access to use this plugin. The plugin uses Microsoft's Graph API which requires a valid subscription.
-
You'll need to register an application in Azure Active Directory, grant it Mail.Send permissions, and configure the redirect URI to match the one provided by the plugin. Detailed step-by-step instructions are included in our documentation.
-
Yes! The plugin extends the standard Grav Email plugin and integrates seamlessly with Grav's Form plugin, allowing you to send form submissions through your Office365 account automatically.
-
Your Azure AD application needs the Microsoft Graph API permission "Mail.Send" with application or delegated permissions, depending on your specific use case. Most installations use delegated permissions.
-
Yes, you can send from any email address that your authenticated Office365 account has permission to send as. This includes your primary email, shared mailboxes you have access to, and any aliases configured on your account.
-
The plugin includes comprehensive error handling that captures and logs any email delivery failures. You can configure the plugin to either fail silently or notify administrators about delivery issues.