steampipe-plugin-imap

command module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

image

IMAP Plugin for Steampipe

Use SQL to query mailboxes, messages and more using IMAP.

Quick start

Install the plugin with Steampipe:

steampipe plugin install imap

Run a query:

select
  timestamp,
  from_email,
  subject
from
  imap_message
where
  mailbox = 'INBOX';
+---------------------+---------------------------+---------------------+
| timestamp           | from_email                | subject             |
+---------------------+---------------------------+---------------------+
| 2021-06-04 10:04:09 | michael@dundermifflin.com | FW: Joke            |
| 2021-09-20 10:10:01 | dwight@dundermifflin.com  | Where's my stapler? |
| 2021-09-21 10:13:01 | pam@dundermifflin.com     | Tonight...          |
+---------------------+---------------------------+---------------------+

Developing

Prerequisites:

Clone:

git clone https://github.com/turbot/steampipe-plugin-imap.git
cd steampipe-plugin-imap

Build, which automatically installs the new version to your ~/.steampipe/plugins directory:

make

Configure the plugin:

cp config/* ~/.steampipe/config
vi ~/.steampipe/config/imap.spc

Try it!

steampipe query
> .inspect imap

Further reading:

Contributing

Please see the contribution guidelines and our code of conduct. All contributions are subject to the Apache 2.0 open source license.

help wanted issues:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL