You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KN4CK3R fc037b4b82
Add support for incoming emails (#22056)
closes #13585
fixes #9067
fixes #2386
ref #6226
ref #6219
fixes #745

This PR adds support to process incoming emails to perform actions.
Currently I added handling of replies and unsubscribing from
issues/pulls. In contrast to #13585 the IMAP IDLE command is used
instead of polling which results (in my opinion 😉) in cleaner code.

Procedure:
- When sending an issue/pull reply email, a token is generated which is
present in the Reply-To and References header.
- IMAP IDLE waits until a new email arrives
- The token tells which action should be performed

A possible signature and/or reply gets stripped from the content.

I added a new service to the drone pipeline to test the receiving of
incoming mails. If we keep this in, we may test our outgoing emails too
in future.

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 year ago
..
agit-support.en-us.md Added docs for agit-setup (#21027) 2 years ago
backup-and-restore.en-us.md Fix typo in backup documentation (pgdump->pg_dump) (#20913) 2 years ago
backup-and-restore.zh-cn.md Update back-up restore example for 1.13 changes (#14374) 4 years ago
backup-and-restore.zh-tw.md Add markdownlint (#20512) 2 years ago
command-line.en-us.md Add markdownlint (#20512) 2 years ago
email-setup.en-us.md Update Gmail mailer configuration (#22291) 2 years ago
fail2ban-setup.en-us.md Add markdownlint (#20512) 2 years ago
fail2ban-setup.zh-cn.md docs: zh-cn translations for fail2ban setup (#20588) 2 years ago
git-lfs-support.en-us.md Refactor docs (#21627) 2 years ago
https-support.en-us.md Refactor docs (#21627) 2 years ago
incoming-email.en-us.md Add support for incoming emails (#22056) 1 year ago
issue-pull-request-templates.en-us.md Fix typo of issue template name (#21117) 2 years ago
issue-pull-request-templates.zh-cn.md Fix typo of issue template name (#21117) 2 years ago
linked-references.en-us.md Reformat docs (#13897) 4 years ago
merge-message-templates.en-us.md Support Issue forms and PR forms (#20987) 2 years ago
permissions.en-us.md Add markdownlint (#20512) 2 years ago
pull-request.en-us.md Reformat docs (#13897) 4 years ago
pull-request.zh-cn.md Reformat docs (#13897) 4 years ago
pull-request.zh-tw.md [docs] Add zh-tw Translations (#14507) 3 years ago
push-options.en-us.md Add markdownlint (#20512) 2 years ago
push-options.zh-tw.md Add markdownlint (#20512) 2 years ago
reverse-proxies.en-us.md Add markdownlint (#20512) 2 years ago
reverse-proxies.zh-cn.md Update reverse-proxies.zh-cn.md (#21484) 2 years ago
template-repositories.en-us.md Refactor docs (#21627) 2 years ago