Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

added examples to incoming emails docs

Markus Kahl7638041da5e2
diff --git a/docs/installation-and-operations/configuration/incoming-emails/README.md b/docs/installation-and-operations/configuration/incoming-emails/README.md
index 5e215987de8..6d13157a73b 100644
--- a/docs/installation-and-operations/configuration/incoming-emails/README.md
+++ b/docs/installation-and-operations/configuration/incoming-emails/README.md
@@ -71,6 +71,50 @@ Please note: It's important to use the plain text editor of your email client (i
### Work packages
+Let's start with two examples right away to get you started.
+You can learn more about the details below.
+
+**Work package update**
+
+When you receive a work package notification you can simply reply to that email
+and it will be added as a comment to the work package. You can also update attributes.
+
+For instance with the following reply.
+
+```
+status: closed
+
+The issue is sorted then. Closing this.
+```
+
+This will add the comment and close the work package.
+
+![Work package closed via email](./work-package-update-via-email.png)
+
+**Work package creation**
+
+You can also create new work packages via email. Make sure to send your email to the same address you would
+use when replying to a work package notification.
+
+When creating a work package, the project it will be created in will either be pre-defined via configuration (see below) or you will have to define it at the start of the email. You can also define its other attributes
+there.
+
+For example if you write an email with the subject "Fixing problems" and the following body:
+
+```
+project: demo-project
+type: Task
+status: In Progress
+
+I'm looking into the problems.
+```
+
+It will create a new work package in the Demo Project of type task which is in progress.
+`demo-project` is the project's identifier which you can see either in the project settings
+or simply by looking at the address bar in your browser when you are in the project.
+
+![Work package created via email](./work-package-creation-via-email.png)
+
#### Sending user address
The address the mail is sent from must match an existing account in order to map the user action.
diff --git a/docs/installation-and-operations/configuration/incoming-emails/work-package-creation-via-email.png b/docs/installation-and-operations/configuration/incoming-emails/work-package-creation-via-email.png
new file mode 100644
index 00000000000..2b63683dc59
Binary files /dev/null and b/docs/installation-and-operations/configuration/incoming-emails/work-package-creation-via-email.png differ
diff --git a/docs/installation-and-operations/configuration/incoming-emails/work-package-update-via-email.png b/docs/installation-and-operations/configuration/incoming-emails/work-package-update-via-email.png
new file mode 100644
index 00000000000..4c1a1144eb6
Binary files /dev/null and b/docs/installation-and-operations/configuration/incoming-emails/work-package-update-via-email.png differ