Sending Redmine email through Google Workspace: when the relay fits
An administrator whose organization already runs Google Workspace often wants Redmine issue notifications to leave from a company domain rather than from a personal mailbox. The Google Workspace SMTP relay is the option for that case: Redmine authenticates to Google's SMTP service with an account in your domain, and mail is sent under that domain's identity so recipients see a consistent sender. It fits best when the organization already manages mail in Workspace, when several Redmine projects or teams need to send from one domain, and when someone in IT can own the relay settings, the sending account and the DNS records over time. A single Gmail account is simpler for a small test instance but ties delivery to one personal login. A local relay, covered on its own page, suits teams that want Redmine to hand mail to an internal server that then routes it. Whichever path you pick, the Redmine software itself is free under GPL v2, so the cost of this setup sits in configuration, DNS and testing, and in the staff time to keep credentials and sending rules current.
Before you commit, confirm with your Workspace administrator which edition your organization uses, because the edition sets the user count, storage and administrative controls available to you. The Business Starter and Business Standard editions support up to 300 users, while Enterprise editions have no minimum or maximum user limit, as listed on the Google Workspace pricing page. Ask who will own the sending account, whether an administrator can change its password or app access without disrupting Redmine, and whether sending limits for your edition fit the volume of notifications your projects generate. Those answers decide whether the relay is a stable foundation or a dependency that a single departure can break.
The practical next steps are to write down the sending account, the allowed sending addresses, the DNS records that authorize Google to send for your domain, and a named owner for each. Test with a small project before enabling notifications for everyone, and keep a record of the configuration so a later upgrade or domain change does not silently stop mail. Your quote from DeployOpen should list these items explicitly, so the scope, testing and handover are agreed in writing before work starts.
How a Redmine notification reaches a recipient through the relay
The path starts in Redmine's background job queue, which hands each notification to the mail library and opens a TLS session to the Google Workspace SMTP relay. The relay accepts the connection only from addresses on the IP allow list you configure, which is the trust boundary to check first. From there, the receiving mail server evaluates SPF, DKIM and DMARC against the sending domain's DNS records. If a message fails those checks, it may be filtered or rejected even though Redmine sent it successfully.
Path of a Redmine notification from the job queue to the recipient's mail server.
Relay options compared: which Google sending path fits your Redmine
This table compares the Google sending paths Redmine can use, from authenticated SMTP with a Workspace user to a local MTA forwarding to Google. Read each row for who it suits, what limits apply, which admin decisions it depends on, and what to confirm in the Admin console before you choose. The main takeaway is that the relay option is an organization-level decision, so confirm it with the Workspace admin before Redmine configuration starts.
| Sending path | Who it suits | Limits and admin dependencies | What to confirm in the Admin console |
|---|---|---|---|
| Authenticated SMTP with a Workspace user | Small to mid-sized Redmine instances with a few known sender accounts and a dedicated mailbox for notifications | Sending counts from the one account; a shared mailbox can be throttled if volume grows. Needs a user with mail rights and a credential stored in configuration.yml | Confirm the sending user's account status, whether SMTP access is allowed for that user, and who owns the credential rotation process |
| IP-restricted relay from fixed hosts | Organizations that want Redmine servers to send without storing a mailbox password | Relay rules are tied to source IP addresses, so server moves or NAT changes can break delivery. Volume depends on the relay policy set by the admin | Confirm the relay service is enabled, the exact allowed IP addresses, whether authentication is required, and which sender domains are accepted |
| Single consumer Gmail account | Trial, test or very small internal installations with no Workspace domain | Consumer accounts have their own sending restrictions that the organization does not control. Not suited to a production notification flow that must stay reliable | Ask whether the organization has a Workspace domain that can host the sender instead, and who controls the account if the person leaves |
| Local MTA forwarding to Google | Teams that already run a mail server or relay for other systems and want one point of control for outbound mail | Adds a hop to troubleshoot and a second configuration to maintain. Sending limits and authentication apply at the relay chain, so both layers must be checked | Confirm the same relay or sender rules that apply to the MTA, which host the MTA uses to reach Google, and who owns its logs and updates |
Configuring the Google Workspace SMTP relay for Redmine
This sequence takes a Redmine server from confirmed Google Workspace eligibility to a verified outgoing mail path, with each step closed by a check you can repeat. It produces a relay that accepts mail only from your Redmine host and a test message with headers you have reviewed.
Confirm your Workspace edition and user count
Before changing anything, the Google Workspace super administrator confirms the edition in use and the number of licensed users. Google's pricing page states that Business Starter and Business Standard support up to 300 users, while Enterprise editions have no minimum or maximum user limit, so the edition determines whether a relay sized for a larger organization is available to you. Record the edition, the user count and the name of the admin who will make changes. The step is done when that record is saved where the infrastructure team can find it.
Create or choose the sender account
Decide which identity Redmine will send as, such as a shared no-reply address or a Google group that the relay will use. Create the mailbox or group in the Admin console and keep it out of personal use, since Redmine will store its credentials or rely on its network trust. Confirm that the sender address is on a domain you own and that the domain is verified in the same Workspace tenant. The step is done when you can send a manual message from that address in the Admin console or a test client and receive it.
Enable the relay service and set allowed sources
In the Google Admin console, open the Gmail routing settings for SMTP relay and turn the service on. Restrict the allowed senders to the public or static outbound IP addresses of your Redmine host or its egress NAT, and avoid open relay settings. Confirm the authentication and TLS requirements shown on the same screen, because they determine the port and credentials you use in the next step. The step is done when the relay setting is saved and the allowed source list contains only the addresses you have verified from the Redmine host.
Add the Redmine SMTP settings
On the Redmine server, add the outgoing mail block to configuration.yml, using the host, port, TLS mode and authentication values that match the relay settings you saved. The file structure, authentication types and STARTTLS details are covered in the sibling topic on configuring Redmine SMTP email, so follow that page for the exact keys. Restart Redmine so the new configuration loads. The step is done when Redmine starts without configuration errors and the log shows no SMTP initialization warnings.
Send a test email from Redmine
Use the Redmine mail test from the administration area, or run the Rails mailer test from a console, and address the message to a mailbox outside your organization as well as one inside it. This tests both the relay and the path to external recipients. Watch the Redmine production log and the Google Admin message trace for the same message. The step is done when both recipients receive the message and the logs show a successful delivery with no timeout or certificate error.
Check headers for SPF and DKIM alignment
Open the received message's full headers at each recipient and confirm the SPF result passes for the sending domain and that DKIM is signed by a selector on your domain. Check that the From domain aligns with the domain used for SPF and DKIM. If DKIM is missing, enable DKIM signing for the domain in the Google Admin console and publish the DNS record it gives you, then resend the test. The step is done when the headers show passing SPF and DKIM results aligned with the From address, and you have saved a copy of those headers as your baseline.
Record the configuration and confirm limits
Write down the relay settings, allowed source addresses, sender identity, DNS records and the test results, and store them with your change records. Ask the Workspace admin to confirm in writing the sending limits that apply to your edition and to the relay, since the sending volume you need depends on how many notifications your Redmine instance produces. The step is done when the record is complete, reviewed by a second administrator, and linked from the Redmine runbook.
Sending limits: relay compared with a single Gmail account
The first decision is whether Redmine sends through a Workspace account at all, and that depends on how much mail your instance will generate. A personal Gmail account is governed by the limits applied to that individual user, and the relay is governed by the Workspace organization. Under Google Workspace, sending through the relay is controlled by the account that owns the relay configuration and by admin settings, so the limits and policies come from the administrator's console rather than from one person's mailbox. Google Workspace editions also differ in user limits and storage: Business Starter and Business Standard support up to 300 users, while Enterprise editions have no minimum or maximum user limit, and storage ranges from 30 GB pooled per person on Business Starter to 5 TB per user on Enterprise. Those figures describe accounts and storage, not sending quotas, so do not treat them as a sending allowance.
Redmine does not send one message per event at a fixed rate. Notifications are generated when issues change, and the number of messages depends on issue activity and the size of each issue's watcher list, since each watcher can receive a notification for the same change. A busy project with many watchers can therefore produce far more mail than a single active user would, and a quiet instance may send very little. Before you choose between a relay and a personal account, estimate your volume from the number of projects, active issues, watchers per issue and the notification defaults your users will have. That estimate, not a guessed daily number, is what you should test against the relay.
Confirm current sending quotas for your edition in Google's Workspace documentation and in your admin console before go-live, because limits can change and depend on the product edition and account type. Ask your Workspace administrator whether the relay is enabled for the account Redmine will use, whether any sending policy or rate control applies to it, and how send failures are reported. Then run a load test with realistic notification volume and watch for throttling or rejected messages, so the first sign of a limit is not a missed notification during an active project.
IP restriction and authentication choices for the relay
Google Workspace relay access depends on who is allowed to connect and from where. The choices below decide whether Redmine mail keeps flowing after a network change, a password rotation or a staff departure. Set them deliberately before the first production notification goes out.
Allow list the Redmine host's public address
Restricting the relay to the Redmine server's fixed public address limits who can submit mail through your Workspace account. Confirm the address with the network team by checking what the server presents as its outbound IP, not the address on its network interface, which is often private behind NAT. Add the address in the Google Workspace admin console's SMTP relay settings, then test from that exact host. Record the allow list entry in your change log so a firewall or NAT change does not silently break mail.
Workspace admin helpAvoid shared or changing egress IPs
A host that shares an outbound address with other tenants, or that uses a NAT gateway whose address changes, makes IP restriction unreliable. An allow list entry that matches today's address may reject tomorrow's connection. Ask your cloud or hosting provider whether the egress address is static and dedicated to your organization. If it is not, plan a stable egress path, such as a fixed NAT address, before relying on IP restriction as the main control.
Authenticate with a dedicated service identity
Use a dedicated service mailbox for Redmine rather than a personal account. A named individual's password changes, mailbox moves and departures will stop notifications for the whole team. Give the service identity only the send permission it needs, and confirm with your Workspace administrator which sending method and authentication mode apply to your edition before the first test.
Rotate credentials stored in configuration.yml
The SMTP password for Redmine is kept in configuration.yml, so rotation means editing that file, restarting the application and verifying a test send. Write the rotation steps down and assign an owner. Store the new credential in your secrets manager first, then update the file, so a failed change does not leave the server without a working password. Check that old credentials are revoked after the switch.
Restrict file permissions on configuration.yml
Because configuration.yml holds the relay password, it should be readable only by the account that runs Redmine and by the administrators who maintain it. Confirm the owner and mode of the file on the host, and make sure backups and deployment copies inherit the same restriction. Avoid world-readable permissions on shared hosts, and check that logs and support bundles do not echo the configuration contents.
Plan for a server move to another network
Moving Redmine to a new data center, cloud region or NAT gateway changes its public address, and the allow list entry no longer matches. Mail then fails with authentication or connection errors that can look like a password problem. Before any migration, add the new address to the allow list, test sending from the new host, and remove the old entry only after mail has flowed for a while. Note who owns this step in the migration runbook.
SPF and DKIM alignment for Redmine notifications
The From domain Redmine uses must match the domain that signs and authorizes its mail, or receiving servers may treat notifications as spoofed or send them to spam. Redmine itself does not sign messages or publish DNS records. Those controls sit with your Google Workspace domain, so the work is to confirm that the address in Redmine's sender setting belongs to a domain you control in Workspace, that SPF authorizes Google's sending infrastructure for that domain, and that DKIM signing is enabled for it in the Workspace admin console. Check the sender address in configuration.yml against the domain you configured in Workspace before you test anything.
SPF lists which servers may send for your domain, and DKIM attaches a cryptographic signature that the receiver checks against a public key in DNS. In the Google Workspace admin console, you add the SPF include that Google documents for Workspace senders to the domain's SPF TXT record, then generate a DKIM key for the domain, publish the TXT record it gives you under the selector name shown, and switch signing on only after the record resolves. DMARC then checks whether the domain in the visible From header aligns with the domain that passed SPF or DKIM. Align the From domain with the Workspace domain, and do not add a second sending service under a different domain without planning its own records. Each record must be confirmed in your own Google admin setup, because the values change over time and depend on your domain and tenant. Copy them from the admin console, not from this page or an old ticket.
Before relying on the setup for issue notifications, send a test message from Redmine to an external mailbox and inspect the message headers for spf=pass, dkim=pass and a DMARC result that aligns with your From domain. Also confirm that your DMARC policy record exists and that its reporting addresses are monitored, since a policy of reject will block any Redmine mail that fails. Keep a note of which selector and key you published so a later key rotation does not silently break signing. Ask your Workspace administrator to confirm these records and check them again after any DNS change, domain addition or change to the sending account.
Questions buyers ask before setting up Redmine mail through Google Workspace
Can our in-house administrator set up Redmine mail through Google Workspace alone?
Often yes, if the administrator has Google Workspace admin rights, control of the sending domain's DNS, and shell access to the Redmine host. The work is a set of small steps: configure the SMTP block in configuration.yml, create or choose a sending account, decide how Redmine's server is allowed to send, publish SPF and DKIM records, and send a test message. The hard part is usually not the Redmine file but the mail policy. Confirm who owns each piece before starting, because a change to SPF or an IP allowlist can affect every other system that sends mail from the same domain. If any of those owners sit in different teams, the work tends to stall there rather than in Redmine.
What drives the effort of a Google Workspace mail setup for Redmine?
Four factors move the effort most. The first is user count, which determines whether the Workspace edition's limits matter for your sending pattern; the researched figures show Business Starter and Business Standard support up to 300 users, while Enterprise has no minimum or maximum. The second is IP architecture: whether Redmine sends from a fixed address that can be allowlisted, or from a changing address that needs a different approach. The third is DNS ownership, since SPF and DKIM are published by whoever controls the zone. The fourth is the Redmine version and Ruby runtime, because the SMTP and mailer behavior is tied to the stack you deploy. Ask your partner to confirm each of these in writing before estimating.
How long does verifying Redmine mail through Google Workspace take?
The duration depends mainly on DNS propagation and the testing cycle, not on a fixed number of days. After you publish or change SPF and DKIM records, the change must reach resolvers before verification results are reliable, and that delay varies by provider and TTL. Testing then covers a test message to an external mailbox, checking the received headers for authentication results, confirming that notifications from real issue changes arrive, and reviewing logs for rejected connections. Ask for a schedule that separates the build steps from the waiting periods so you can see where time is actually spent.
What does a fixed-scope Google Workspace mail engagement cover?
A fixed-scope engagement sets out the work and deliverables in writing before it starts. For this topic, the scope typically covers reviewing the Redmine version and Ruby runtime, configuring the SMTP settings in configuration.yml, agreeing the sending account and IP policy with your Workspace administrator, preparing the SPF and DKIM changes for your DNS owner, running test deliveries and handing over a short runbook. It usually excludes changes to the wider Workspace tenant, mailbox design beyond the sending account, and any mail flows owned by other systems unless they are named in the scope. Ask for the exclusions as clearly as the inclusions.
Will our Google Workspace mail settings need ongoing support?
Some parts recur and some do not. The initial configuration is one-time work, but the settings can need attention when Google changes policy, when you add a sending server or when a DNS record is edited by someone else. Redmine upgrades can also change the mail stack around the application. If you want someone to review these changes, watch for failed deliveries and keep the sending policy current, ask about a retainer that covers those checks. Retainers are available from DeployOpen for ongoing support, upgrades and testing, and their scope should be written out the same way as the initial build.
Which details should we send DeployOpen to scope Redmine mail through Google Workspace?
Send the Redmine version, Ruby runtime and how Redmine is hosted, whether on Docker or a Linux host. Include the Google Workspace edition and the number of users who will receive notifications, the sending address you plan to use, and whether Redmine's server has a fixed outbound IP address. Name the people who control Workspace administration and DNS for the sending domain, and state whether any other system already sends mail through that domain. Also tell us about your compliance expectations, such as the audit evidence you need for mail configuration changes. With those details, the scope can be written as a fixed set of deliverables.
Do we need to deal with Google Takeout or Data Export for this work?
No, those tools serve a different purpose. Google Takeout lets individual users export their own data, and Workspace Data Export lets super administrators export organization data such as Gmail, Drive, Chat and Calendar. Neither is part of configuring outbound mail for Redmine. If your organization is also planning a mailbox migration or retention exercise, treat that as separate work with its own scope.
Security and operational risks of relaying Redmine mail through Google
A Google relay turns one mailbox credential into the sender for every Redmine notification, so the risks cluster around that credential, who can change its settings, and what the notifications contain. The cards below cover what to protect, what to monitor and which release line to stay on so the relay stays safe after go-live.
Protect the SMTP credential
The relay logs in with a Google account or app password stored in Redmine's configuration.yml. Anyone who reads that file or the server backup can send mail as that mailbox. Restrict file permissions to the account running Redmine, keep the credential out of shared configuration repositories, and plan a rotation step that you test before it is needed. Confirm with your Google administrator which authentication method your tenant accepts for this account.
Restrict who changes relay settings
Anyone with administrator access to Redmine or shell access to the host can point the relay at another server or change the sender address, which can redirect project data. Limit administrator accounts, require two-factor authentication for them, and record every change to the mail section of the configuration. Review the list of people who can edit that file at the same interval as your other access reviews.
Monitor bounced notifications
Google can reject messages for sending limits, policy blocks or invalid recipients, and Redmine does not always make those failures visible to users. Check the Redmine production log and the mailbox that receives bounce messages for the sender account. Set a recurring check so a silent failure does not leave a team without assignment notices for days.
Stop issue content leaking through watchers
Notifications copy every watcher and the full issue text, so an external contact added as a watcher receives private details. This is a common cause of exposure after a client or vendor is added to a project. Review watcher rules and private issue settings before granting outside access, and confirm which recipients can see the notification body. Test a notification with an external watcher in a staging project first.
Stay on a supported release line
Security fixes for the mail code path only reach supported releases. Redmine 7.0.x is the fully supported line with security updates, 6.1.x receives only bug fixes and security updates, and 6.0.x receives only important security updates. Versions 5.1.x and older are unsupported. Plan upgrades so the mail configuration is carried across with the plugin migration step, and retest the relay after each upgrade.
Redmine download pageChecking delivery and alignment after go-live
This sequence confirms that Redmine mail leaves through the Google Workspace relay, passes SPF, DKIM and DMARC checks at the receiving end, and stays free of delivery errors once real project traffic starts. The output is a short record that the mail path works and a named owner for watching it.
Confirm the relay settings in configuration
The Redmine administrator checks the production configuration.yml against the values agreed for the Google Workspace relay: the relay hostname, port, STARTTLS setting, the authentication type, and the sender address. They restart Redmine so the settings load, then confirm that the outgoing mail settings shown in the administration area match the file. The step is done when the values match the change record and no secret appears in plain text in a shared document.
Send a test notification to an external mailbox
Create or update a test issue in a non-sensitive project, assign it to a user with a mailbox outside your Workspace domain, and add that address as a watcher. Use a mailbox you control at a different provider so the message crosses the public internet the same way production notifications do. The step is done when the message arrives in the external inbox with the expected sender name and subject, and the Redmine log shows one delivery for it.
Read the Authentication-Results header
Open the received message in the external mailbox, view the full headers, and find the Authentication-Results line added by the receiving server. Check that SPF reports pass for the envelope sender, that DKIM reports pass for the signing domain, and that DMARC reports pass because one of those identifiers aligns with the visible From domain. A fail or softfail on any of these means the DNS records or the Workspace sending configuration need correction before go-live is accepted.
Check the sending source address in headers
In the same message headers, follow the Received lines back to the first hop your infrastructure created and note the IP address. Compare it with the public addresses you have allowed for the relay in Google Workspace. Then check the Google Workspace admin console or message logs, where your administrators can see the relay activity for the test message. The step is done when the source IP in the headers belongs to your permitted list and the log entry shows the same message with a successful status.
Verify DKIM signing on the outgoing message
Confirm that the DKIM-Signature header on the test message names the domain and selector you configured in Google Workspace, and that the selector's public key is published in DNS. Your DNS administrator should confirm both records with a lookup tool. The step is done when the signing domain in the header matches the domain in the From address, since that match is what allows DMARC alignment to succeed.
Monitor the Redmine log for failed deliveries
Review the Redmine production log and the background job output for the first business days after go-live. Look for SMTP errors, authentication failures, timeouts, and messages recorded as not delivered. Keep a count of failures by hour so a sudden rise is visible. The step is done when the on-call owner has a documented location for these logs, a named person who reviews them, and a plan to rerun the test notification after any configuration change. For error types and fixes, see the troubleshooting topic on Redmine email delivery.
Record the alignment results for the change file
Save the test message headers with sensitive recipient details removed, the relay settings without secrets, the DNS records, and the log excerpts in the go-live change record. Ask your security or compliance lead to review them, since the record shows how outbound mail is authenticated. The step is done when the record names the owner of the Google Workspace sending configuration and the owner of the Redmine mail settings, so the next change has a clear approval path.
How DeployOpen scopes and delivers Redmine mail setup
DeployOpen scopes the Google Workspace relay work in a written, fixed-scope agreement before any configuration starts. Redmine runs inside your own infrastructure, so the scope names the Redmine host, the mail path it uses, the Google Workspace edition and sending account, the relay settings to be applied in Redmine's configuration, and the acceptance tests that show mail is delivered. Decisions that change the design, such as whether relay access is restricted by IP address, whether a dedicated sender mailbox is used, and whether a local relay sits between Redmine and Google, are recorded in that document with the owner of each decision named. Any figure you need for planning, including the sending limits that apply to your edition and account type, should be confirmed against the current Google documentation during scoping rather than assumed.
Delivery depends on people outside the Redmine team. DeployOpen coordinates with your Google Workspace administrator, who controls the relay service, IP allowlists and the sender identity, and with the owner of your DNS zone, who publishes the SPF and DKIM records that must align with the sending domain. We then test the chain end to end: a notification sent from a Redmine project, checked for successful SMTP authentication, the expected From address, and passing SPF and DKIM results in the received headers. The test results, the final relay settings with secrets kept out of plain-text files, and a short runbook for the next person are handed over as deliverables.
Mail rules change over time, and Redmine upgrades or changes to the Google Workspace configuration can break a working relay without any visible error in Redmine. DeployOpen offers retainer support so that someone reviews those changes, reruns the delivery tests after each Redmine upgrade and keeps the DNS records current. Ask any partner, including DeployOpen, to show how the relay is documented, which test evidence it will hand over, and who on your side owns each decision before you sign.

