# Introduction to development for notification mail sending with Gmail

**URL:** <https://meta.discourse.org/t/introduction-to-development-for-notification-mail-sending-with-gmail/376772>\
**Category:** Development\
**Tags:** docker, email, oauth2\
**Created:** [July 31, 2025, 7:04pm UTC](https://meta.discourse.org/t/introduction-to-development-for-notification-mail-sending-with-gmail/376772 "2025-07-31T19:04:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Abris](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/abris/32/515215_2.png) [@Abris](https://meta.discourse.org/u/Abris)\
**Post date:** [July 31, 2025, 7:04pm UTC](https://meta.discourse.org/t/introduction-to-development-for-notification-mail-sending-with-gmail/376772/1 "2025-07-31T19:04:50Z")

</div>

Hello,

I’m new to Ruby and Docker, but having some development experience otherwise. I have a running dev Discourse instance as well a production instance, so dependencies seem to be met. I would like to add Oauth 2.0 functionality to [no-reply@discourse.example.com](mailto:no-reply@discourse.example.com), so that I can send the notifications via a Google Workspace user.

I kindly ask your help in the following:

- how to create the docker image from the discourse git repository?
- about what part of the code contains the STMP authentication of the no-reply, and sending the notifications?

If it goes well, I would like to make it to be selectable at ./discourse-setup script, so that webmaster can be given in most of the mail providers and OAuth 2.0 when the mail provider is Google. In case you find it useful, I can send the result for review.

Best Regards

---

_[View the full topic](https://meta.discourse.org/t/introduction-to-development-for-notification-mail-sending-with-gmail/376772)._
