Git Product home page Git Product logo

lsmail's Introduction

lsmail

deadsimple console imapclient (think: ls [email protected] ) written in bash & php

Usage

$ lsmail [email protected] 

id    date                     from             subject 
----  ----                     ----             ---- 
7331  2013-11-29 Fri 10:11:15  flopse@foobars. [issue165] flopedia flopjes api 
7330  2013-11-29 Fri 09:11:18  Babce@bflaoer   Freedom 
7329  2013-11-28 Thu 18:11:58  flopse@foobars. [issue954] flop XML Integration 
7328  2013-11-28 Thu 17:11:38  flopse@foobars. [issue165] flopedia flopjes api 
7327  2013-11-28 Thu 15:11:35  Babce@bflaoer   FW: flop rates 
7326  2013-11-28 Thu 14:11:54  flopse@foobars. [issue165] flopedia flopjes api 
7325  2013-11-28 Thu 14:11:15  flopse@foobars. [issue165] flopedia flopjes api 
7324  2013-11-28 Thu 10:11:31  flopse@foobars. [issue954] flop XML Integration 
7323  2013-11-27 Wed 16:11:41  [email protected]  Fwd: RE: Skype new account 
7322  2013-11-27 Wed 16:11:16  [email protected]  Re: lorem ipsum 

lsmail> 7331

subject        : [issue165] flopedia flopjes api 
fromaddress    : "Matt Jown" <[email protected]>
toaddress      : [email protected] 
ccaddress      : 
date           : Fri, 29 Nov 2013 09:05:14 +0000

If chuck norris is really that good, then he would be able to come down 
my house and bash my brains out while I'm typing this amas;ldkfjaksjdlkfjsldf...
;lksjfkjs;df....sdfjahldifuayreiwhtkwjejer.....asdjfio8ewlilkhgtwlkert....lakjshdfk..
alsdfjhalksdjhfalksjdhf..i   asd.faerfhwhlewiauhfiuhaelirufh....

$ lsmail

[[email protected]]

id    date                     from             subject 
----  ----                     ----             ---- 
7331  2013-11-29 Fri 10:11:15  flopse@foobars. [issue165] flopedia flopjes api 
7330  2013-11-29 Fri 09:11:18  Babce@bflaoer   Freedom 
7329  2013-11-28 Thu 18:11:58  flopse@foobars. [issue954] flop XML Integration 
7328  2013-11-28 Thu 17:11:38  flopse@foobars. [issue165] flopedia flopjes api 

[[email protected]]

id    date                     from             subject 
----  ----                     ----             ---- 
7331  2013-11-29 Fri 10:11:15  flopse@foobars. [issue165] flopedia flopjes api 
7330  2013-11-29 Fri 09:11:18  Babce@bflaoer   Freedom 
7329  2013-11-28 Thu 18:11:58  flopse@foobars. [issue954] flop XML Integration 
7328  2013-11-28 Thu 17:11:38  flopse@foobars. [issue165] flopedia flopjes api 

why

  • sometimes we need to keep things deadsimple
  • bash automation / monitoring / notification
  • easily checking multiple emailboxes

CREDITS: imapmunch

requirements

  • bash
  • php

Installation

mkdir ~/bin 
cd /tmp
git clone https://github.com/coderofsalvation/lsmail.git
cd lsmail 
cp imapmunch lsmail ~/bin/.
cp ~/[email protected] ~/[email protected] 
# now modify ~/[email protected] 
(..)
# set permissions
chmod 600 ~/.lsmail.*

Note

Put this in ~/.profile so you always have handson-access to your personal bashscripts in ~/bin:

 PATH="$HOME/bin:$PATH"

Planned features

  • easily download attachments (already implemented, not finished)
  • hastag/price/currency/scanning in subject
  • csv/json output

lsmail's People

Contributors

coderofsalvation avatar

Stargazers

 avatar

Watchers

 avatar  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.