A Mattermost plugin to mirror the contents of an email folder in a channel via IMAP
All checks were successful
/ test (push) Successful in 3m44s
@timber here's a quick brain dump - the section about testing isn't super useful as such, there should be better ways to set up a more streamlined manual testing process. Feel free to push more changes to the branch or merge as you see fit. Reviewed-on: #12 Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu> Co-committed-by: Antonin Delpeuch <antonin@delpeuch.eu> |
||
---|---|---|
.forgejo/workflows | ||
.github/workflows | ||
.vscode | ||
assets | ||
build | ||
docs | ||
public | ||
server | ||
webapp | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitpod.yml | ||
.golangci.yml | ||
.nvmrc | ||
cliff.toml | ||
CONTRIBUTING.md | ||
go.mod | ||
go.sum | ||
GOVERNANCE.md | ||
LICENSE | ||
Makefile | ||
members.yml | ||
plugin.json | ||
README.md |
MailMirror
This Mattermost plugin shows the contents of an email folder in a Mattermost channel, by fetching it over IMAP.
Setting it up
- Install the plugin in your Mattermost instance (download the latest release)
- Create a channel where this plugin should add incoming email, and copy the channel id via the info button in the top right corner
- In the System Console, go to the MailMirror settings and paste the channel id there. Configure your IMAP connection as well.
After a few minutes, you should see email coming in.
Join this project
Do you have any suggestions of improvements? They are welcome as issues or pull requests! Creating a Codeberg account does not take long.
License
Apache License 2.0
Based on
- Mail2Most by Carsten Seeger (MIT license), for the parsing of attachments over IMAP (but with improvements on the fetching logic to avoid wasting bandwidth)
- mattermost-plugin-starter-template and mattermost-plugin-demo (Apache License 2.0)