Аlgorithm of helpdesk plugin:

First time issue:

  1. Client( Tom Smith <> ) send mail to
  2. Every 10 minuter cronjob runs rake task for receiving mail from box
  3. plugin receives mail form , searching for contacts in all projects in redmine
  4. if contact present plugin connect contact with support project, creating new issue with email body, connecting contact to this issue (for example: issue ID is 222)
  5. if contact does not present, plugin creates new contact from email data -> "Tom Smith" and add it to support project, and create new issue
  6. plugin send notification to about receiving ticket (if such setting enables)

Reply:

  1. Support engineer reply to issue in notes and check "Send note by email" behind note text field, and set issue to status Closed (or any)
  2. Plugin send reply to Tom Smith first email (if Tom has many emails)
  3. Tom Smith receives email from support and reply to it
  4. plugin receives reply by cronjob rake task
  5. if issue id [#222] found in subject or in mail header and in redmine, plugin finds issue and adds new note with email body to it and set status to Open (command line param)
  6. If issue haven't found plugin creates new issue with mail body and connect it to contact (Tom Smith)