All Projects → Virtomize → mail2most

Virtomize / mail2most

Licence: MIT license
watch emails and send them to mattermost

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to mail2most

Mattermail
Email Integration for Mattermost
Stars: ✭ 145 (+168.52%)
Mutual labels:  integration, imap, mattermost
ghidra-r2web
Ghidra plugin to start an r2 webserver to let r2 interact with it
Stars: ✭ 38 (-29.63%)
Mutual labels:  integration
ltest
A Testing Framework for LFE (successor to lfeunit)
Stars: ✭ 31 (-42.59%)
Mutual labels:  integration
mattermost-themes
A collection of Mattermost themes that can be easily copy-pasted to your server of choice
Stars: ✭ 34 (-37.04%)
Mutual labels:  mattermost
reedelk-runtime
Reedelk Runtime Platform Community Edition
Stars: ✭ 25 (-53.7%)
Mutual labels:  integration
buzz
A simple system tray application for notifying about unseen e-mail
Stars: ✭ 123 (+127.78%)
Mutual labels:  imap
ics
Integration that displays the next event of an ics link (support reoccuring events)
Stars: ✭ 48 (-11.11%)
Mutual labels:  filtering
hermes
Automates programmables à réaction aux échanges électroniques depuis une boîte IMAP4
Stars: ✭ 15 (-72.22%)
Mutual labels:  imap
integreat-cms
Simplified content management back end for the Integreat App - a multilingual information platform for newcomers
Stars: ✭ 46 (-14.81%)
Mutual labels:  integration
op-mattermost
OpenProject and Mattermost integration
Stars: ✭ 19 (-64.81%)
Mutual labels:  mattermost
ar-search
Provides unified search model for Yii ActiveRecord
Stars: ✭ 31 (-42.59%)
Mutual labels:  filtering
jacobin
A more than minimal JVM written in Go and capable of running Java 17 classes.
Stars: ✭ 59 (+9.26%)
Mutual labels:  golang-application
Matrix-EmailBridge
A bridge written in Golang to receive and write emails in matrix
Stars: ✭ 101 (+87.04%)
Mutual labels:  imap
Dynatrace-OneAgent-Ansible
This Ansible role installs Dynatrace OneAgent.
Stars: ✭ 34 (-37.04%)
Mutual labels:  integration
FractionalCalculus.jl
FractionalCalculus.jl: A Julia package for high performance, fast convergence and high precision numerical fractional calculus computing.
Stars: ✭ 22 (-59.26%)
Mutual labels:  integration
neo4j-jdbc
JDBC driver for Neo4j
Stars: ✭ 110 (+103.7%)
Mutual labels:  integration
golang-gqlgen-reactjs-subscription-demo
GraphQL Subscription with Golang/React JS & React Apollo Client Subscription
Stars: ✭ 29 (-46.3%)
Mutual labels:  golang-application
modoboa-imap-migration
An extension to ease the migration between 2 IMAP servers using offlineimap
Stars: ✭ 14 (-74.07%)
Mutual labels:  imap
one-sdk-js
1️⃣ One Node.js SDK for all the APIs you want to integrate with
Stars: ✭ 41 (-24.07%)
Mutual labels:  integration
mattermost-plugin-voice
Mattermost plugin for voice messaging. 🎤 🔉
Stars: ✭ 64 (+18.52%)
Mutual labels:  mattermost

Donate GoDoc Go Report Card License Built with Mage Build Status

Mail2Most

Filter emails from mail accounts and send them to mattermost.

mail2most-image

Features

  • IMAP(S) support
  • StartTLS support
  • Mattermost v4 API support
  • HTML 2 Markdown support
  • Filter mails by Folder
  • Filter mails by From
  • Filter mails by To
  • Filter mails by Subject
  • Filter mails by TimeRange
  • Mattermost broadcasts
  • Choose to post Subject and Body or Subject only
  • Send to channels and/or users
  • Profile management including default profiles
  • Mail attachment support

Missing feature or found a bug ? Feel free to open an issue and let us know !

Donation

If this project helps you, feel free to give us a cup of coffee :).

paypal

Install

download

Download Latest Release Version

build it yourself

You can compile the project yourself using this repo and mage. Just clone the repo and run mage build, you can find the binary under bin/mail2most

Usage

  • create a mattermost user
  • create or use an existsing email user to connect to your mail server via IMAP
  • edit conf/mail2most.conf and configure your mail and mattermost credentials
  • configure your filters
  • run Mail2Most ./mail2most or with config path ./mail2most -c conf/mail2most.conf

example conf - filter descriptions

just configure the filters you need if a filter is not defined it is not used !

see example configuration for more details.

Run Mail2Most as a service

You can run Mail2Most using docker, docker-compose or as a systemd service.

docker

docker-hub link

Using docker you need to change the path to your mail2most.conf

docker run \
  -v /path/to/mail2most.conf:/mail2most/conf/mail2most.conf \
  virtomize/mail2most:latest

e.g. if you are in this repo:

docker run \
  -v $(pwd)/conf/mail2most.conf:/mail2most/conf/mail2most.conf \
  virtomize/mail2most:latest

docker-compose

docker-hub link

Using docker-compose you can just edit the conf/mail2most.conf or change the path inside the docker-compose.yml to your config:

    volumes:
      - ./conf/mail2most.conf:/mail2most/conf/mail2most.conf

needs to be changed to

    volumes:
      - /path/to/my/mail2most.conf:/mail2most/conf/mail2most.conf

then just start a container user

docker-compose up -d

Systemd

Systemd allows you to create a background service to run mail2most managed by your system:

  • create /opt/mail2most and place the mail2most binary into it
    • mkdir -p /opt/mail2most/conf
  • create /opt/mail2most/conf/mail2most.conf
  • place the following file to /etc/systemd/system/mail2most.service
# mail2most
[Unit]
Description=mail2most

[Service]
Type=simple
WorkingDirectory=/opt/mail2most
ExecStart=/opt/mail2most/mail2most -c conf/mail2most.conf
Restart=always
RestartSec=60

[Install]
WantedBy=multi-user.target

enable and start using

systemctl enable mail2most
systemctl start mail2most

Common problems

Problem: mail2most crashes after profile changes

Solution: This happens when the data.json is not consistent to the config changes. Delete data.json to solve this problem.

Problem: Channel contains special characters mattermost can not found the channel

Solution: Mattermost does not support special characters for channel names, only in display names. To find the correct channel name use the last part of the url found under view info

Contribution to Mail2Most

Thank you for participating to this project. Please see our Contribution Guidlines for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].