<commit_before># Redimap

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'redimap'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install redimap

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>Document installation, usage, etc. in README.<commit_after># Redimap

Redimap provides a simple executable for polling mailboxes
within an IMAP account. It keeps track of what it's seen using Redis. For new
messages, the mailbox and uid are queued in Redis. The format used should be
compatible with Resque.

More sleep lost by [tiredpixel](http://www.tiredpixel.com).


## Installation

Install using:

    $ gem install redimap


## Usage

Ensure that you are setting the required environment variables, perhaps using
Foreman. You'll probably want to at least set:

    IMAP_HOST=imap.gmail.com
    IMAP_USERNAME=<EMAIL>
    IMAP_PASSWORD=<PASSWORD>
    IMAP_MAILBOXES=["INBOX","Sent"]

Check and queue new messages and quit:

    $ bundle exec redimap

Check and queue new messages but run for eternity using crude polling:

    $ bundle exec redimap 1


## Contributions

Contributions are embraced with much love and affection! Please fork the
repository and wizard your magic, ensuring that any tests are not broken by the
changes. Then send a pull request. Simples! If you'd like to discuss what you're
doing or planning to do, or if you get stuck on something, then just wave. :)

Do whatever makes you happy. We'll probably still like you. :)

## Blessing

May you find peace, and help others to do likewise.


## Licence

© [tiredpixel](http://www.tiredpixel.com) 2013. It is free software, released
under the MIT License, and may be redistributed under the terms specified in
`LICENSE`.
{'fraction_non_alphanumeric': 0.06980198019801981, 'fraction_numerical': 0.0049504950495049506, 'mean_word_length': 3.9901234567901236, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1808651', 'n_tokens_mistral': 606, 'n_tokens_neox': 567, 'n_words': 278}