Coder Social home page Coder Social logo

slackmail's Introduction

Slackmail

Slackmail is a simple email-to-slack proxy.

Why

You've got a service that supports email notifications for unexpected/interesting events. That's great, but you check Slack way more than email (and/or you want to share the news with a team). Instead of badgering service XYZ to add support for slack, just run this server and have them "email" you: [email protected].

Installation

pip install [--user] git+https://github.com/iodine/slackmail

Running

By default, the servers listen on localhost, port 5025. This is to simplify testing locally. But feel free to run on port 25 and just add an MX record to have it operate as a "real" email server!

Simple single hook server

slackmail-local\
  --webhook-url='https://mydomain.slack.com...&token=123'\
  [--listen-address=host:port]\
  [--authorization_token=secureME]

If you specify the authorization_token flag, only messages containing the token somewhere in the subject or message body will be forwarded to Slack.

Database enabled server

slackmail-db [--listen-address=host:port]

The default database used is just a SQLite database called mail.db. It will be created in whatever directory you run the slackmail-db command.

slackmail's People

Contributors

rjpower avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slackmail's Issues

Specifiy license

Thanks for developing slackmail. To make it easier to use in projects, can you add a LICENSE file and classifier in setup.py?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.