Code Monkey home page Code Monkey logo

mutt-to-omnifocus's Introduction

mutt-to-omnifocus.py is a short python script to create OmniFocus tasks from 
messages in mutt.  Actually, it's a relatively MUA-agnostic script in that it 
accepts any RFC-compliant message that the python `email` package can handle on
STDIN.

My use case for developing this script is that I want to acheive some version
of Inbox Zero, and doing so (for me) involves off-loading e-mails into tasks.
If you use Mail.app, of course, OmniFocus provide the Clip-O-Tron for linking
tasks with messages.  One of the (few) drawbacks of using mutt is that it 
doesn't readily integrate into Mac OS X.  So I wrote this script that creates a
task in the inbox.  The subject of the e-mail is used for the name of the task,
whilst various headers are placed into the note (enough to identify the e-mail
by).  I tend to use the `Message-ID` field to pull up the e-mail later in mutt
by using the `~i` pattern modifier.


Usage
=====

Place the script somewhere in your `$PATH`, and then use something like the
following in your mutt configuration files:

    macro index,pager \cL "<pipe-message>mutt-to-omnifocus.py<enter>" \
        "Create OmniFocus task from message"

If you want to bring up the task in the quick entry panel instead, use the `-q`
option:

    macro index,pager \cL "<pipe-message>mutt-to-omnifocus.py -q<enter>" \
        "Create OmniFocus task from message"


-- Andrew Ho <[email protected]>

mutt-to-omnifocus's People

Contributors

andrewlkho avatar

Watchers

mt3 avatar James Cloos avatar

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.