Git Product home page Git Product logo

gitmail's Introduction

GitMail

Every program attempts to expand until it can read mail.
- Jamie Zawinski

Connect Gmail emails to GitHub repos. Every time you get an email in an authenticated Gmail inbox, a GitHub issue is created in a special repository named gitmail, with the email subject and body. Reply to an email by using special headers in a GitHub comment.

Using

Create a private GitHub repo called gitmail. Go to . Once you're signed up, all new email from your inbox will create GitHub issues in your private repo.

Architecture

Two microservices - one each for GitHub and Gmail - connected by a Redis messaging FIFO. This architecture allowed us to split up the work easily and integration of the two services (one written in Node and the other in Haskell) was painless. Hosted on an EC2 instance.

To unsubscribe

Simply delete the private repo.

gitmail's People

Contributors

tsani avatar shivankaul avatar

Stargazers

 avatar Gabriel Garrett avatar

Watchers

James Cloos avatar  avatar  avatar

gitmail's Issues

Add headers to issue threads

It's currently impossible to know where each message comes from since the sender email address and name aren't shown anywhere. I'm considering a system of headers as in HTTP and SMTP:

From: "Jacob Errington" <[email protected]>
To: "Shivan Kaul" <[email protected]>

Message text ...

For replies generated from comments, if the first line consists only of a special character, like a dash -, then the comment is treated as a reply. Otherwise, the comment is just that: a comment. For those comments designated as replies, the bot should edit the comment once it has been processed to include the headers used to dispatch the email.

Database sucks

Right now we're using Redis for all our data storage needs, which doesn't make sense.

Allow for multiple users

Right now there's only a single "access_token", GithubConf pair that can be stored at a time in the "Database" (see #5). This means that the last user to authenticate is the one that writes to the comment threads. In a multi-user environment, this completely breaks.

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.