🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

proton-email-api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proton-email-api

A simple proton mail api. To send emails using JS/TS.

1.0.2
latest
Source
npm
Version published
Maintainers
1
Created
Source

Proton Mail API

Unofficial API for interacting with ProtonMail.

Allows interaction with ProtonMail through a simple Node.js API. Leverages the official WebClient, keeping with the spirit of security and privacy. Currently supports sending email. It does not compromise with security as it uses web automation.

Setup

Sending an email

import ProtonMail from 'proton-email-api';


(async () {
    const pm = new ProtonMail({
        username: 'your username',
        password: 'your password',
    })
    await pm.connect()
    await pm.sendEmail({
        to: 'email',
        subject: 'subject (does not support HTML)',
        message: 'message (supports HTML)',
    })

    await pm.close()
})();

More

More features are coming soon. And if u any specific feature then do DM Me. I will try to implement it.

Keywords

proton

FAQs

Package last updated on 27 Jan 2023

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