Abstract base class for puppeteer email providers.
npm install --save puppeteer-email-provider
TODO
Abstract base class for pupeteer email providers.
Type: function ()
Provider name.
Type: string
Creates a new email account using this provider.
Some providers may require additional user information during signup.
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
Signs into an existing email account using this provider.
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
Signs out of the given authenticated session using this provider.
Type: function (session): Promise
session
PuppeteerEmailSession
Sends an email from an authenticated session using this provider.
Type: function (session, email, opts): Promise
Fetches emails visible from the inbox of an authenticated session using this provider.
Type: function (session, opts)
session
PuppeteerEmailSessionopts
object? Optionsopts.query
string? Search query to narrow down results
- puppeteer-email - Email automation driven by headless chrome.
MIT © Travis Fischer