Sha256: 0f4168ce98e50911414e51a715c48aab4ff9da35e9182ee2528c4ef39f0c97a4

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

# Chronicle::Email
[![Gem Version](https://badge.fury.io/rb/chronicle-email.svg)](https://badge.fury.io/rb/chronicle-email)

Extract and work with your email using the command line with this plugin for [chronicle-etl](https://github.com/chronicle-app/chronicle-etl).

## Usage

```sh
# Install chronicle-etl and this plugin
$ gem install chronicle-etl
$ chronicle-etl plugins:install email

# Process emails from an mbox file
$ chronicle-etl --extractor email:mbox -i test.mbox  --transformer email --fields subject
```

## Available Connectors
### Extractors

#### `mbox`
Extractor for importing emails from an mbox file

##### Settings
- `input`: A path to an .mbox file

### Transformers

#### `email`
Transform an email (in the form of a string) into Chronicle Schema

##### Settings
- `body_as_markdown`: (default: false) Whether to convert the email body into markdown
- `remove_signature`: (default: true) Whether to attempt to strip out the email signature (using the [`email_reply_parser`](https://github.com/github/email_reply_parser) gem)

## Roadmap
- Add an IMAP (and gmail) extractor #1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chronicle-email-0.2.1 README.md
chronicle-email-0.2.0 README.md