How OpenProject turns email into work packages
When a team wants requests sent by email to land in OpenProject as tracked work, the first decision is which receiver reads the mailbox. OpenProject receives inbound email through an IMAP rake task or a Gmail API task that uses a Google service account. Each path does three things: a new mail creates a work package, a reply to a notification becomes a comment on the work package it belongs to, and lines in the message body such as status: set attributes on that work package. Attachments are added to the work package, and users named in the To or BCC fields become watchers. Before you pick a receiver, confirm with your mail provider which protocol your mailbox supports and whether a service account can be granted access to it.
On Docker installs, the IMAP receiver polls the mailbox every IMAP_CHECK_INTERVAL seconds, with 600 seconds as the default. That interval sets the worst-case delay between sending a request and seeing the work package, so decide with the requesting teams whether ten minutes is acceptable or whether a shorter interval fits the support process better. Shorter intervals mean more mailbox connections, so check the setting against your provider's limits. The official documentation covers IMAP and the Gmail API only. POP3 and Microsoft 365 Graph are not covered, so if your organization runs Microsoft 365, plan to confirm whether an IMAP connection is available in your tenant before you commit to this design.
What you need before enabling email intake
Email intake touches four areas: the mailbox and how OpenProject reads it, the account that acts on incoming mail, the install that runs the polling task, and the network paths between them. Settle each one before you change any configuration, because a gap in one area usually shows up as mail that is silently not processed.
Mailbox and protocol access
Decide which mailbox receives work requests, such as a shared project inbox, and confirm that it can be read over IMAP with credentials OpenProject is allowed to hold. Check whether your mail provider permits IMAP access for the account type you plan to use, and whether a service or app-specific credential is required. POP3 and Microsoft 365 Graph are not covered by the inbound email documentation, so plan around IMAP or the Gmail API only.
Inbound email docsDedicated OpenProject processing user
Create a separate OpenProject user for mail processing rather than reusing an administrator or a person's account. Mail from senders without an OpenProject account is rejected unless unknown-user handling is enabled, so this user's role and project memberships determine what intake can create. Decide before go-live who may create work packages by mail and which projects receive them.
Docker or packaged install running the poll task
Identify where the mail receiver runs. Docker installs poll IMAP at an interval set by IMAP_CHECK_INTERVAL, which defaults to 600 seconds, so confirm that interval matches the response time your users expect. Packaged installs on supported Linux distributions run the receiver as a rake task, so confirm the scheduler that runs it and that it survives restarts and upgrades.
Outbound and inbound network paths
OpenProject must reach the IMAP host or Gmail API endpoints outbound, and notification mail must leave through your SMTP relay. Confirm firewall rules, proxy settings and TLS certificate trust for the mail server, especially on private networks or air-gapped sites where outbound access is restricted. Test each path from the OpenProject host, not from your workstation.
Google service account for Gmail API
If you choose the Gmail API route, create a Google service account and grant it access to the mailbox through domain-wide delegation, which your Google Workspace administrator must approve. Store the service account key securely on the OpenProject host and limit who can read it. Ask your Google Workspace administrator to confirm the scopes and mailbox access before configuration begins.
Edition and plan for this receiver
Confirm which OpenProject edition and plan include the inbound email receiver in the version you will run. The supplied documentation does not state the plan requirement, so check the current feature list with OpenProject and with your own licensing before you commit. Record the answer alongside your version number so later upgrades do not change the assumption unnoticed.
OpenProject pricingHow a message travels from inbox to work package
The path starts with a sender's email landing in a mailbox that OpenProject can read, either over IMAP or through the Gmail API. On Docker installs, a scheduled poll task checks the mailbox every IMAP_CHECK_INTERVAL seconds, which defaults to 600. OpenProject then checks the sender against existing accounts, and that check decides whether the mail is rejected or accepted. An accepted reply becomes a comment on the notification's work package, while a new mail creates a work package. Watchers from To and BCC lines and attachments are added at the end, so check the sender policy and watcher handling before going live.
Inbound mail path from sender to a new work package or comment.
Choosing between the IMAP task and the Gmail API task
Use the IMAP receiver when the inbox you want OpenProject to read sits on a mail server your organization runs or hosts and that server accepts IMAP connections. OpenProject runs a rake task that logs in to the mailbox and polls it for new messages. On Docker installs, the polling frequency is controlled by the IMAP_CHECK_INTERVAL setting, which is 600 seconds by default, so a new mail may wait up to that long before it becomes a work package or comment. The setup is mostly a mailbox and credential exercise rather than a cloud API project.
- Dedicated mailbox account: Create a separate account, such as an address used only for intake, so that OpenProject does not read a personal inbox.
- Connection details: Collect the IMAP host, port, transport security mode and the account password or application credential the server requires.
- Folder handling: Agree with the mail administrator which folder OpenProject polls and what happens to processed messages.
- Network path: Confirm that the OpenProject host can reach the IMAP server through firewalls and any mail gateway.
- Interval choice: Decide whether the default polling interval is acceptable for the team's expectations.
Before choosing this path, confirm with your mail administrator that IMAP access is permitted for the intake account, that the server's authentication method is supported, and who owns the mailbox after go-live.
Use the Gmail API task when the intake mailbox is a Gmail or Google Workspace mailbox. Instead of storing a mailbox password, OpenProject authenticates with a Google service account, so the setup depends on Google Cloud and Google Workspace administration rather than on the mail server. The service account must be granted access to the mailbox, which in Workspace environments usually means an administrator must approve domain-wide delegation for the service account's scopes. Plan this work with the people who control Google Workspace, because the grant is their decision.
- Google Cloud project: Create or pick a project where the service account lives and keep the key handling under your existing controls.
- Service account key: Generate and store the credential securely, then limit who can read it on the OpenProject host.
- Delegation grant: Have a Workspace administrator authorize the service account for the mailbox and the required Gmail scope.
- Mailbox identity: Name the exact user mailbox the service account impersonates, since that account defines what OpenProject can read.
- Task configuration: Configure the Gmail API task in OpenProject so it polls the intended mailbox.
Before choosing this path, confirm with your Workspace administrator that delegation is allowed under your policies, that the mailbox is the one you intend to expose, and that key rotation and revocation have an owner.
Whichever receiver you choose, the mail administrator decides whether the intake mailbox can be exposed to OpenProject at all. Both paths give a service read access to incoming mail, which can include confidential project correspondence, attachments and sender details. Settle these points before you build, so the receiver is not switched later after credentials have already been issued.
- Mailbox scope: Confirm exactly which mailbox or folder OpenProject will read and whether it receives mail from outside the organization.
- Access review: Agree who approves the credential and how often access is reviewed.
- Retention and handling: Confirm what happens to processed messages and whether the intake mailbox falls under an existing retention policy.
- Monitoring: Decide how failed polls, expired credentials and mailbox lockouts are reported to the team that runs OpenProject.
- Change control: Establish how credential rotation or a move between receivers is approved.
Before committing, write these answers into the scope so both teams can see who owns the mailbox, the credential and the response when either fails.
How to configure email intake step by step
This sequence takes an OpenProject instance from an empty mailbox to a working intake path, where new mail creates work packages, replies create comments and body lines set attributes. Each step closes with a check, so a fault is found where it was introduced. Confirm the exact settings for your release in the inbound email documentation before you change production.
Create the mailbox and processing account
The administrator creates a dedicated mailbox, such as a support or intake address, that only the intake process reads. For IMAP, create a processing account with a login the receiver can use. For Gmail, plan a Google service account that the Gmail API task will use, and record who owns its credentials. The step is complete when you can sign in to the mailbox with the processing account from a mail client and see the messages you expect.
Choose the IMAP or Gmail API receiver
The platform team selects one receiver for this instance. OpenProject offers an IMAP rake task and a Gmail API task that uses a Google service account. The inbound email documentation does not cover POP3 or Microsoft 365 Graph, so a Microsoft 365 mailbox must be checked against that documentation before you commit to a design. Write down the choice, the mailbox it reads and the owner of the credentials. The step is complete when that record is approved by the people who run the mail system.
Set the receiver and mail server settings
The administrator enters the mail server host, port, encryption and login details for the chosen receiver, using the settings listed in the inbound email documentation for your release. For a Docker installation, these values are passed to the container through its environment configuration, so keep them in your secrets store. Run the receiver once by hand and read the output. The step is complete when the run reports a successful connection to the mailbox and no authentication error appears.
Set the polling interval
For Docker installs, IMAP is polled every number of seconds set by IMAP_CHECK_INTERVAL. The documented default is 600 seconds. Keep the default for a first test, or set a lower value only if your business needs faster intake and your mail provider allows the polling rate. Record the value you chose and where it is set, so a later upgrade does not reset it without anyone noticing. The step is complete when the configured value is visible in the container settings and matches your record.
Decide how unknown senders are handled
By default, the sender of an incoming mail must match an existing OpenProject account. The settings no_permission_check and unknown_user change this, with unknown_user set to accept or create. Decide which behavior fits your intake before you enable the receiver, because accepting unknown senders affects who can add work to your projects. Test the decision with a mail from an address that has no account. The step is complete when that mail is handled exactly as your decision says.
Enable the scheduled intake task
Enable the rake task or the Gmail API task you chose so that it runs on the schedule. Confirm that it runs without manual intervention, for example by checking the job or container logs after one polling cycle. Keep a record of the task name and where it is enabled, because the task must survive restarts and upgrades. The step is complete when a run after the interval starts on its own and finishes without errors.
Send test mails for each intake behavior
Send four test mails from a registered account. First, send a new mail to the intake address and confirm that it creates a work package. Second, reply to an OpenProject notification and confirm that the reply becomes a comment. Third, add a body line such as status: followed by an existing status name and confirm that the attribute changes. Fourth, attach a file and add a To or BCC recipient who has an account, then confirm the attachment and the watcher appear on the work package. The step is complete when all four results are visible in OpenProject.
Which email action changes which OpenProject object
This table maps each kind of inbound email to the OpenProject object it creates or changes, the check to run after a test mail, and where a value must match an existing status, type or user. Read it before you write sender rules or body-line conventions, because a value that does not match an existing item is the most common reason an expected change does not appear.
| Email action | OpenProject result | Check after a test mail | Match requirement |
|---|---|---|---|
| New mail to the receiving address | A new work package in the target project | Confirm the work package exists, its subject and description match the mail, and its author is the expected user | The sender must match an existing account unless unknown user handling is configured |
| Reply to a notification email | A comment added to the existing work package | Confirm the comment sits on the correct work package and is not a new work package | The reply must come from the address that received the notification |
| Body line such as status: | Sets the named attribute on the work package | Confirm the attribute changed and no unintended field was overwritten | The value must match an existing status name exactly, as configured in your workflow |
| Body line such as type: | Sets the work package type | Confirm the type applies to the target project | The type must already be enabled for that project |
| Attachment on the email | File added to the work package | Confirm the file opens and that size limits did not silently drop it | Check attachment size limits on your mail server and OpenProject |
| Address in To or BCC | Adds that user as a watcher | Confirm the watcher list on the work package includes the expected users | Each address must match an existing OpenProject user account |
| Unknown sender | Accepted or rejected depending on configuration | Send a test from an address with no account and record the result | Accept or create behavior depends on the unknown user setting you choose |
How unknown senders are handled
By default, OpenProject only accepts an inbound email when the sender matches an existing OpenProject account. Mail from an unknown address is refused, so nobody can open or comment on work simply by writing to the mailbox. Keep that default unless your security and project owners have agreed a different policy. Two settings change it: no_permission_check, which relaxes the permission check on the sender, and unknown_user, which tells OpenProject what to do with an unrecognized address. Its documented values are accept, which lets the mail through as an anonymous or unassigned author, and create, which creates a new user account from the sender's address.
Each setting creates a different governance trade-off. Accepting unknown senders widens who can open work packages to anyone who can reach the mailbox, including spam, phishing and automated mail, so work arriving this way needs a triage step and a clear owner. Creating accounts automatically means every external address that writes in becomes a user, which affects your license count on Enterprise plans, your user lifecycle and any SSO or LDAP rules you rely on for offboarding. Confirm with your identity team how auto-created users interact with those controls before you turn the option on, and check how your plan counts them.
Decide the sender policy with your security lead and the owners of the projects that will receive mail before enabling either setting. Write down which addresses or domains may create work, who reviews work that arrives from outside the organization, and how mail from a former employee is handled. Test the chosen policy with a mailbox that is not in OpenProject and with a known account, and confirm the result in the work package list. Mail rules are easier to tighten than to clean up after unwanted accounts or work packages have been created.
Securing the mailbox and the sender rules
Email-to-work-package intake gives anyone who can reach the mailbox a path into your projects, so the mailbox, the processing account and the sender rules need to be locked down before the receiver goes live. The cards below are checks you can run yourself and confirm in your own environment.
Mailbox credentials and their storage
The IMAP or Gmail API credentials that OpenProject uses to read the inbox are a secret with write-level power over your projects, so they belong in your secrets store and not in a plain configuration file or a shared chat thread. Confirm where the value is kept, who can read the container environment or the server configuration, and that the credential is rotated when someone with access leaves. For Gmail, confirm the service account key is stored and scoped as the Gmail API task requires.
Inbound email docsLeast-privilege processing account
Create a dedicated mailbox for work intake rather than reusing a personal or shared operations inbox. Give it access only to the folder or label the receiver reads, and confirm it cannot send as other staff or read unrelated mail. Ask whether the mailbox can be restricted to receiving, and record who owns it so that password resets and mailbox deletion do not silently stop or redirect intake.
Restricting who may send work
Decide which addresses are allowed to create work packages before you enable the receiver. The sender must match an existing OpenProject account by default, so external parties without an account cannot open work. Review the list of active accounts that can email in, and remove accounts for contractors whose engagements have ended, since a valid account is what lets their mail through.
Effect of the permission-check settings
The settings no_permission_check and unknown_user change who is trusted: accept lets unknown senders in, and create makes OpenProject create an account for them. Treat either setting as a deliberate exception for a named intake address, not a global default. Test with one mail from an account that lacks project rights and confirm the work package is refused or the comment is not stored, then document the chosen value and its owner.
Attachments from external senders
Attachments in an inbound mail are added to the work package, so a file sent by an outside party reaches your project members without any upload review. Confirm whether your configuration allows attachments from senders outside your organization, check the file types and size limits your instance enforces, and decide whether virus scanning runs on uploads. Test with a harmless file to see what lands on the work package.
Monitoring the poll task
The poll task runs on the IMAP_CHECK_INTERVAL schedule, which defaults to 600 seconds for Docker installs, and a failed poll fails silently from the user's point of view. Check the container logs after each change, alert on repeated errors from the mail task, and confirm that a test mail sent to the intake address appears within the interval you set. Review the mailbox for unprocessed messages that pile up when the task stops.
Inbound email docsWhy email does not create work packages
This table lists the failures that most often stop email from creating work packages or comments in OpenProject, with the likely cause, the check to run and the fix for each. Work through the rows in order, since a stopped poll task hides every other symptom. The main takeaway is that most failures sit in the poll task, the sender account or the mailbox protocol, not in OpenProject's work package logic.
| Symptom | Likely cause | Check and fix |
|---|---|---|
| No work package appears after a new mail | The IMAP poll task is not running or has not run yet | Confirm the Docker container is running and check its logs for the inbound mail task. Wait at least one IMAP_CHECK_INTERVAL cycle, which defaults to 600 seconds, then send a test mail again. |
| Mail is ignored with no work package created | The sender has no OpenProject account | Check that the From address matches an existing user. If unknown senders should be accepted, confirm the unknown_user setting (accept or create) and the no_permission_check setting with your admin team before changing them. |
| A reply creates a new work package instead of a comment | The reply does not carry the notification reference the receiver uses to match the thread | Reply directly to the OpenProject notification rather than composing a new mail. Check that your mail client keeps the original subject and headers, and that the mailbox does not strip them. |
| Body attribute such as status is not applied | The value in the body line does not match an existing status, type or priority name exactly | Compare the value with the names in the project's administration settings, including spelling and language. Correct the mail text or rename the value in OpenProject, then send a test mail. |
| Gmail API receiver returns no mail or errors on access | The Google service account lacks the required grant or domain-wide delegation for the mailbox | Check the service account configuration and the delegated scopes in your Google Workspace admin console. Confirm the receiver targets the same mailbox you are sending to, then retest. |
| Mail provider on POP3 or Microsoft 365 Graph does not work | The docs do not cover POP3 or Microsoft 365 Graph for inbound email | Confirm the protocol before design. Use an IMAP mailbox or the Gmail API task instead, or ask DeployOpen to scope a custom approach as a separate piece of work. |
Questions buyers ask before setting up email intake
What drives the effort of setting up email intake for OpenProject?
The effort depends mostly on four things: which mail provider hosts the mailbox, how strict the sender policy is, how many body-line attributes the team wants to set from email, and how much testing the rollout needs. A plain IMAP mailbox that accepts only mail from existing OpenProject accounts is a small job. A Gmail API setup with a Google service account, unknown-sender handling and several attribute rules touches more systems and more test cases. Ask the implementation partner to break the effort down by these four drivers in a written scope and quote, so you can see which items you are paying for and which you can take on yourself.
How long does email intake setup usually take?
The timeline depends less on OpenProject itself and more on how ready the mailbox is. If the mailbox exists, the account owner can grant access, and the admin has decided how senders are matched, the configuration and test cycle can move quickly. If the mailbox still needs to be created, a Google service account needs to be approved, or the sender policy is undecided, most of the time goes to those decisions rather than to configuration. Ask for a timeline in the written scope that lists these prerequisites as dependencies with named owners.
What must our team provide before the engagement starts?
Plan to provide the following before work begins:
- Mailbox access, including the IMAP account or the Google Workspace settings needed for a Gmail API task with a service account.
- Admin decisions on sender policy, such as whether unknown senders are rejected, accepted, or created as users.
- A list of body-line attributes the team wants to set from email, and which roles may use them.
- Test mails from real user accounts, covering replies, new mails, attachments and watcher addresses.
- A named contact who can approve changes to the production instance and its environment variables.
Missing any of these usually moves the schedule more than any technical issue.
Can an internal OpenProject admin set up email intake alone?
Yes, a capable admin can set up a basic IMAP intake on a Docker install by following the inbound email documentation, provided they are comfortable editing the environment configuration and running the rake task for IMAP polling. The harder parts are the Gmail API setup with a Google service account, the decisions about unknown senders, and testing that replies become comments and new mails become work packages with the right attributes. Self-setup works best when one person owns the configuration, a second person reviews the sender rules, and the team has a written test list. Ask a partner to review your plan even if you build it yourselves.
How does the sender policy affect security and access?
The sender policy decides who can create or change work packages by email. By default, the sender must match an existing OpenProject account, which limits intake to known users with their own permissions. Setting the no_permission_check and unknown_user options to accept or create lets mail from outside senders create work, which widens the access surface and should be a documented admin decision. Review who can send mail to the intake address, how spoofed sender addresses are handled by your mail provider, and what the audit trail shows for mail-created items before go-live.
What recurring work remains after email intake goes live?
Once intake works, the recurring work is operational. Someone must watch the mailbox credentials and the Google service account for expiry or rotation, keep the polling interval set to a value the team accepts (the default IMAP_CHECK_INTERVAL is 600 seconds), and re-test after each OpenProject upgrade, since mail handling is part of the instance you upgrade. Sender lists, attribute rules and watcher behavior also change as teams change, so assign an owner to review them periodically. Ask a partner whether they offer ongoing support or a retainer, and what that covers in the written scope.
Which mail sources are not covered by the documentation?
The OpenProject inbound email documentation covers IMAP and the Gmail API with a Google service account. It does not cover POP3 or Microsoft 365 Graph. If your organization runs Microsoft 365 mail, confirm with OpenProject and your mail administrator which supported path fits your tenant before you commit to a design, because an unsupported path may need a different approach or an IMAP setup on a mailbox that your policies allow. Ask the implementation partner to state in writing which mail source the scope assumes.
Does email intake require an Enterprise plan?
The supplied OpenProject pricing material lists single sign-on, LDAP group synchronization and custom branding as Enterprise features, but it does not list email intake as an Enterprise feature, so confirm the plan requirement for your version directly with OpenProject before you buy. Your scope should state which edition the intake depends on, because a sender policy tied to SSO accounts or LDAP groups would bring in those plan requirements. Ask for the plan assumption in the written scope so the quote and the licence match.
How DeployOpen works on this
DeployOpen scopes email intake for OpenProject as a defined piece of work: which mailbox or Gmail account feeds which project, how senders are matched to accounts, and which body lines set attributes. The configuration is built inside your infrastructure, tested with real message flows, and handed over with written runbooks.
How we scope
- Written scope names the receiver (IMAP or Gmail API), the mailboxes, and the target projects for new work packages.
- Scope records the sender policy: whether unknown senders are rejected, accepted, or created as accounts.
- Scope lists the body attributes, watcher rules and attachment handling that teams will rely on.
How we build
- We configure the receiver and polling interval, then set IMAP_CHECK_INTERVAL in your Docker environment to the agreed value.
- We test reply-to-comment, new-mail-to-work-package and status-line behavior with test accounts before any shared mailbox is connected.
- We verify that permission checks and unknown-user settings behave as the written policy describes, using accounts that match and do not match.
How we hand over
- You receive the configuration, mailbox and service account setup, and a record of the test cases and results.
- Documentation explains how to add a project mailbox, change the polling interval, and review rejected or unmatched messages.
- We walk your administrators through the runbook so they can operate the intake without DeployOpen involved in daily use.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and retesting after OpenProject releases are available as a retainer.
- Confirm with your team how email intake changes will be reviewed and approved before they reach production mailboxes.

