Socket
Book a DemoInstallSign in
Socket

dimap

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dimap

Provides an HTTP REST interface to attachments in your Gmail account.

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

DIMAP

An HTTP REST interface for attachments in your Gmail account.

Usage

npm install dimap -g
dimap -u bencoe@gmail.com -p password

You can also run dimap with XOAUTH credentials (which can be generated using my fork of node-oauth, or a similar library).

dimap -x qwerty=

Once You've Got DIMAP up and running:

  • Find a message in your All Mail folder with Attachments.
  • Inside a web-browser navigate to 127.0.0.1:8000/MSGID/FILENAME.

onConnection() Hook

The onConnection hook fires when a connection is made to the IMAP proxy, prior to negotiating a connection to Gmail through IMAP.

We've used this hook at Attachments.me to build an authentication system on top of DIMAP.

To Do

  • Add hooks for $statsd event logging.
  • Make it so dimap can support multiple mailboxes based on tag, e.g., "ALL MAIL", "TRASH".

Have fun, and be careful!

Copyright (c) 2013 Attachments.me. See LICENSE.txt for further details.

Keywords

imap

FAQs

Package last updated on 02 Aug 2013

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