Skip to content

Intake channels: e-mail and form

Issues are not only opened by hand. With Intake channels, every message sent to an e-mail address and every submission of a bound form opens as an issue in a team. To manage this page you need the manage intake channels permission; without it the page says “You cannot manage the intake channels”.

In the menu, open Administration → Settings → the Intake channels tab. The page has two sections: E-mail addresses and Bound forms.

Defthand does not read a mailbox itself. Instead, your e-mail provider forwards incoming mail to a webhook link of the address’s own: “Your e-mail provider forwards incoming mail to the address’s own link; each message becomes a new issue or a reply to one.” You need an e-mail service that can forward incoming mail in raw form (MIME) to a web address.

  1. In the E-mail addresses section, click New address.

  2. Fill in the fields:

    Field Description
    Name The address’s display name, e.g. “Saha destek”.
    Mailbox Optional: the real e-mail address (e.g. support@company.com). “The real address; shown, and a guard against loops.”
    Team The team the issues open in.
    Template The new issue’s fields; if left blank, The team’s default for outsiders is used.
    Unknown sender One of the three options below.
    On An address that is off refuses messages.
  3. Click Add address.

  4. A window shows the Webhook link and the Secret: “Enter these in your e-mail provider’s inbound mail settings.” Copy them with the Copy the link and Copy the secret buttons. “The provider must POST the raw message (MIME) to this link. The secret is the link’s last part.”

  5. Enter the link in your provider’s inbound mail settings and click Copied, close.

After that, the row shows only the last characters of the secret (“secret …a1B2”) and the time of the last message (“Last message 2 hours ago” or “No message yet”).

A “known sender” is the e-mail address of an active user of your organization. Everyone else is unknown.

Option What happens
Accept A sender who is not a user of the organization opens issues too.
Triage only Opens an issue only while the team has triage on; otherwise the message is refused. (Default)
Refuse Only messages from the organization’s users become issues.
  • New issue: the title is the message’s subject (if there is none, the template’s title, else “E-mail: sender”). The description is the message text, followed by “— Name
    sent this by e-mail.” Priority, assignee, labels, project, due date and sub-issues come from the template. The issue’s Source is E-mail.
  • Attachments: the message’s attachments are attached, on the sender’s behalf, to a comment “The e-mail’s attachments.”
  • Reply: if the message replies to a message that came to this address before, or its subject has an issue number such as [SAH-12], and the issue was opened from this address and the sender is the issue’s sender, the message is added to the issue as a comment. Quoted older text is cut off. A closed issue is not reopened. This comment does not count as a first response.
  • Defthand does not send a reply e-mail to the sender.

Limits: at most 10 MB per message, at most 200 messages an hour per address, at most 10 attachments per message and at most 10 MB per attachment.

Messages on the address’s row lists incoming messages, latest first; refused and ignored ones are here too. Each row has the outcome, the reason, the sender, the subject (“(no subject)” if there is none), the issue link and the number of attachments (“3 attachments, 1 not taken”). Move between pages with Previous / Next.

Outcome Meaning
New issue The message opened a new issue
Comment The message was added to an issue as a reply
Repeat The same message had come before; no new issue was opened
Ignored Reason: automatic reply (e.g. an out-of-office reply), loop (the sender is an intake mailbox), no sender
Refused Reason: address off, unknown sender, the team has triage off

Renewing the secret, editing and deleting an address

Section titled “Renewing the secret, editing and deleting an address”
  • Renew the secret: asks: “The old link stops working at once. Mail is refused until you give the new link to your provider.” The new link and secret are again shown once.
  • Edit: the name, mailbox, team, template, rule and on / off can change; the secret does not.
  • Delete: “The link stops working and the message log is deleted. The issues stay.”

An organization can have at most 50 e-mail addresses.

If you bind a form published in Defthand’s Forms module to a team, every submission of the form opens an issue in that team. You design the form in Forms (required fields are the form’s job); here you only bind it. For forms, see: Forms.

  1. In the Bound forms section, click Bind a form. “The fields come from the form’s latest published version.”

  2. Form: search for and pick one of the published forms. Forms already bound are not in the list; a binding’s form does not change later.

  3. Choose a Team and, optionally, a Template.

  4. Make sure On is checked.

  5. The Mapping section ties the form’s fields to the issue’s fields:

    Field Description
    Title field A text field of the form or Do not use. “Blank: the template’s title, else the form’s name and the date.”
    Description field A text field of the form or Do not use. “Blank: the template’s description skeleton.”
    Priority field (single choice) A single-choice question of the form. When you pick it, the Priorities of the options table appears: for each Option, a priority or The template’s
    Label field A single- or multiple-choice question of the form. In the Labels of the options table, a label or No label for each option
    Add every answer to the description “Each answer goes under the description as a line, with a link to the submission.”

    If the form has no field to map, it says “This form has no text or choice field to map.”

  6. Click Bind. You see “Form bound”.

A form can be bound to only one team (“This form is bound to a team already.”). An organization can have at most 100 bound forms. If the form is later unpublished or deleted, the row says “Form deleted”.

The issue counts as opened by the person who submitted; if that person is not a member of the team and the team has triage on, the issue goes to triage. The status comes from the template or the team’s default. The labels are the template’s labels together with the mapping’s labels. The issue’s Source row becomes Form submission and links to the submission. The same submission does not open a second issue.

Removing the binding: the remove button on the row asks: “The form’s submissions stop opening issues. The issues stay.”