puppeteer-email-provider-outlook v0.1.0
puppeteer-email-provider-outlook
Puppeteer email provider for Outlook.
Install
npm install --save puppeteer-email-provider-outlookAPI
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)
userobject User info for the account to createoptsobject Optionsopts.browserObject 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)
userobject User info for the account to sign intooptsobject Optionsopts.browserObject Puppeteer browser instance to use
signout
Signs out of an authenticated session.
Type: function (session): Promise
sessionPuppeteerEmailSession
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)
sessionPuppeteerEmailSessionoptsobject? Options (optional, default{})opts.queryobject? Search query to narrow down results
Related
- puppeteer-email - Email automation driven by headless chrome.
License
MIT © Travis Fischer