tr33m4n / magento2-oauth-gmail
A simple way to send mail via the Gmail API with Oauth authentication
Package info
github.com/tr33m4n/magento2-oauth-gmail
Type:magento2-module
pkg:composer/tr33m4n/magento2-oauth-gmail
v1.0.0-alpha
2025-03-19 20:56 UTC
Requires
- php: ^8.1
- google/apiclient: ^2.18
- magento/framework: ^103
- magento/module-config: ^101.2
Requires (Dev)
- adamwojs/php-cs-fixer-phpdoc-force-fqcn: ^2.0
- ampersand/magento-docker-test-instance: ^0.1.21
- bitexpert/phpstan-magento: ^0.41.0
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- friendsofphp/php-cs-fixer: ^3.72
- magento/magento-coding-standard: ^4.0
- magento/magento2-base: *
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5
- rector/rector: ^2.0
README
A simple way to send mail via the Gmail API with Oauth authentication
This is alpha software!
This module allows Magento to send emails through the Gmail API using Oauth authentication, instead of SMTP.
TODO
- Allow send failure to fallback to default
- Allow configuring different test email addresses
- Better handling of refresh token errors
- Add instructions/wiki for configuring the Oauth application within the Google Developer console https://developers.google.com/workspace/guides/create-credentials
- Add unit/integration tests
- Add CI
Installing
This module is available on https://packagist.org/
composer require tr33m4n/magento2-oauth-gmail