Socket
Book a DemoInstallSign in
Socket

email-fetch-and-process

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

email-fetch-and-process

0.1.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

EmailFetchAndProcess

This little gem encapsulates some logic distilled and extracted from a bunch of different scripts used to access a mailbox, find an email, and get the file attachment from it.

It is currently very focused and limited to that job and that job only, but with a little TLC it could become a more general email access/extract/process tool.

Installation

Add this line to your application's Gemfile:

gem 'email-fetch-and-process'

And then execute:

$ bundle

Or install it yourself as:

$ gem install email-fetch-and-process

Usage

require 'email-fetch-and-process'

jobs = []
jobs << EmailFetchAndProcess::Job.new({fetch: ['SUBJECT', 'Some subject line']})

r = EmailFetchAndProcess.new({host: 'imap.gmail.com',port: 993, id: 'YOURID', password: 'YOURPASSWORD'})
r.run(jobs)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/wyhaines/email-fetch-and-process.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 25 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.