Coder Social home page Coder Social logo

mailsh's People

Contributors

talanis85 avatar

Watchers

 avatar  avatar  avatar

mailsh's Issues

Support PGP/MIME

Support sending and receiving PGP encrypted messages using the PGP/MIME protocol, as described in RFC 3156.

The biggest question here is how we want to connect gpg to the console workflow of mailsh. Encryption and decryption typically involves calling an external program ('gpg') and entering a keyring passphrase or similar. There's 2 possibilities I can think of right now:

  1. Hard code the call to 'gpg' into mailsh and automatically encrypt/decrypt mails on 'mailsh read' and 'mailsh compose'. I don't like this because it's too opinionated on the user's PGP setup. Maybe someone uses a different encryption method that's still PGP compatible.
  2. Don't add any encryption-related code. Encryption means piping an externally-generated PGP/MIME message into mailsh for sending. Decryption means piping the source of a message into gpg. However, we probably need more elaborate piping mechanisms for this.

Custom format for 'headers'

Currently, the 'headers' command is taylored solely for human reading.

To faciliate the use in scripts, it would be nice if you could modify the format the printed headers.
For example, a script might want to traverse over all messages matching a filter expression. Then 'headers' should only print message numbers.

We would need a new option to 'headers', like this

mailsh headers -f "<format string>"

Where <format string> could be a printf-style string with placeholders for number, subject, date, from, to etc.

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.