puppeteer-email-provider-outlook v0.1.0
puppeteer-email-provider-outlook
Puppeteer email provider for Outlook.
Install
npm install --save puppeteer-email-provider-outlook
API
Table of Contents
PuppeteerEmailProviderOutlook
Extends: PuppeteerEmailProvider
Puppeteer email provider for Outlook.
Type: function ()
name
Email provider to automate.
Type: PuppeteerEmailProvider
signup
Creates a new email account.
Returns an email session with the authenticated puppeteer browser.
Type: function (user, opts)
user
object User info for the account to createopts
object Optionsopts.browser
Object Puppeteer browser instance to use
signin
Signs into an existing email account.
You must specify either user.username
or user.email
.
Returns an email session with the authenticated puppeteer browser.
Type: function (user, opts)
user
object User info for the account to sign intoopts
object Optionsopts.browser
Object Puppeteer browser instance to use
signout
Signs out of an authenticated session.
Type: function (session): Promise
session
PuppeteerEmailSession
sendEmail
Sends an email from an authenticated session.
Type: function (session, email, opts): Promise
getEmails
Fetches emails from the inbox of an authenticated session.
Type: function (session, opts)
session
PuppeteerEmailSessionopts
object? Options (optional, default{}
)opts.query
object? Search query to narrow down results
Related
- puppeteer-email - Email automation driven by headless chrome.
License
MIT © Travis Fischer