Manage by e-mail

Not everybody can (or want) to use Twproject all the time. Users (bad ones 🙂 ) may prefer to perform some operations using their preferred e-mail client.

First of all notice that the messaging system can send notifications via e-mail. This is a basic feature, when you subscribe an event just check the e-mail channel.

This kind of communication is from Twproject to the user, but also messages from the user to Twproject are supported: Twproject has a rich set of features to facilitate e-mail interaction with it, which go beyond the (quite powerful by itself) subscription/notification engine of tasks and issues; here are the possible actions:

1) Create a new project

2) Adding document to task

3) Adding issues to task

4) Adding to-dos

5) Sending messages

6) Synchronizing agenda (for detail see chapter iCalendar (Outlook/iCal)

There are software packages that do just this; Twproject does this in context, automatically integrating security checks and project links.

There are some simple actions that can be done in Twproject simply by sending e-mails to Twproject. This can be useful for example in cases where the web interface is not accessible, or when sending e-mail to someone and also in copy to Twproject.

In order for this functionality to work, configuration of e-mail from users to Twproject is necessary (see Configuration of e-mail from users to Twproject). For the moment it is sufficient to be aware that there will be an e-mail address whose account will be checked by Twproject; writing to this address is for us “writing to Twproject”.

Twproject in receiving e-mails will check that the sender has the right to do the action intended: there must be one and only one resource having as e-mail the one which you are using to send the message. This way Twproject will recover the resource and check security rights.

The possible actions are now detailed.

Create a new Project

First of all, in order to create a new project you must have permissions to do that; if you have, just send an e-mail with the subject in the following format:


Than the email body could have multiple lines staring with:

CODE task_code
START a_date_in_the_user_format
END a_date_in_the_user_format
DURATION duration_in_days

Attachments  will be loaded as documents on project / task

The email body will constitute the project description. If the email body is very long a textual document will be created containing the whole message.

Regarding dates you can use supply all possible combinations of START-END, START-DURATION, DURATION-END, START-DURATION-END.
Twproject will adjust the missing one consequently.


Email Subject
NEW PROJECT Twproject Mobile Release 3.0
Email Message
START 08/11/2016
END 15/03/2017
A complete redesigned user interface and functionality for Twproject mobile app.

This email will create a task with name “Twproject Mobile Release 3.0” and code “TW_MOB3.0”. As you can imagine this task will start on the eight of November and it will end in the middle of March.
All the text of the message will be saved inside the description, and last but not least, in case you attach documents to this e-mail, those will be saved as document in the task.

Twproject security model works also in this case, the sender e-mail, in fact,  needs to be related to a user with task create permission.


Is that simple, isn’t it? You can even create a template of your message that you can use to compose it in seconds!


Adding documents to tasks

You can send an e-mail to Twproject with documents attached, and all the attachments will be added as documents on the task intended. In this the task on which you intend to operate via e-mail is identified in the following way:

the subject of the e-mail you are sending is parsed, and if it starts with TASK, what is between # # is considered, say it is A342; first a task with code A342 is searched; then, if the value is numeric, say 342, a task with database id 342 is searched; lastly, a task named A342 is searched.

Some examples:

task #2646# ATTACHMENT
TASK #International Geographic – July 2009# attachment

are all valid e-mail subjects by using code, id and name.

Task’s code and name are not mandatory unique when saved, so if you have homonyms you will get back an error message by e-mail. Using the task’s id is the only always safe way, not necessary the most comfortable.

If at least in one of the cases above the task is found, the documents are created (this is the action of this section).

Adding issues to tasks

Using a single e-mail address

You can send an e-mail to Twproject where the text of the e-mail will be used as description of a newly created issue on the task intended. If there are up to two documents attached, these will be attached to the issue. E-mail priority is taken into account to set the priority of the issue.

Some examples:

TASK #IG-JUL09# issue
task #2646# ISSUE
TASK #International Geographic – July 2009# issue

Twproject will always check security, so from e-mail sender it will infer the user, then check on the task if such user has the permission to perform the action.

This could be a nice way to allow your customers to send issues/feedback on your project.

Using multiple incoming e-mail address

This feature considerably expands the management possibilities for anyone handling helpdesk like situations. You can now have multiple “background jobs” running in Twproject that check several e-mail accounts (say, one per main project) and create issues for incoming e-mails.

To configure this you must access as administrator and go to admin ->  issues (issues tab).


Activate here the service by associating an email to each task, and then adding a configuration line here. You cannot use the same email address for multiple tasks. The priority of the issue created will be taken from the e-mail.

Some hints:

“port number”, leave -1 for default values: e.g.: pop3=110, pop3s=995, imap=143

“public” means that everyone can send issue (via e-mail) to the task, regardless the sender is a Twproject user.

Otherwise only users with issue write-permission on that task will be able to add issues.

“active” means that issues will be imported (alias: mail will be downloaded) only while the task is open, and we are in the time scope of the task.

Creating TO-DOs

This supposes that you have added the “to do” web part to your home page (it is there by default after setup), in order to see the effects of your actions: to create to-dos by e-mail, just use a s subject “to-do”.

Send messages

In order for this functionality to work through e-mail, configuration of e-mail from Twproject to users is necessary (see “16.3.1 Configuration of e-mail from Twproject to users”). You access this section through docs&tools -> boards & messages -> send message.


This is a page quite self-explanatory.

Multiple e-mail, e.g. SMS forwarding

In order for this functionality to work, configuration of e-mail from Twproject to users is necessary.

Multiple entries can be set in the resources editor; so for example, a secondary SMS-forwarded notification e-mail can be set on the personal details data e-mail field by adding more personal details.