npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mail7

v1.0.0

Published

Mail7 Disposable Email NodeJs SDK contains email and routing rules APIs

Downloads

7,385

Readme

About Mail7

​Mail7.io is a service that allows receiving emails at a temporary address that self-destructed after 24 hours. It is the most advanced throwaway email service that helps you avoid spam and stay safe in such cases.

Installation

npm i --save mail7

Configuration

Replace the placeholders in the config object with your mail7 credentials apikey and apisceret. These can be obtained from here

var  config = {
     apiKey:  '<mail7 apikey>',
     apiSecret:  '<mail7 apisecret>'
}

Don't have Mail7 Account ? Create you own account here and get your apikey and apisecret

Require the mail7 package and pass the config object

var mail7 = require('mail7')(config);

Usage

mail7.getInboxByEmail("<[email protected]>").then((response) => {
   console.log(response);
}).catch((error) => {
   console.log(error);
});

The detailed document for apis parameters, body and output format, you can go through the mail7 documents

Inbox APIs:

Params

  • @param {string} to - full email address or username for example testme or [email protected]
  • @param {string} mesgid - the id of particular email object
  • @param {string} domain - the domain name email is created by

As mail7 support custom domain, so you can use any email like [email protected]. But you no need to pass this domain explicitly in function param as domain will be fetched from email. But make sure that your mail7 plan included the custom domain email addresses

Routing Rules APIs:

Params

  • @param {object} data - json object for roles need to be create
  • @param {string} ruleName - rule to be delete

If only username testme is passed then it will be treated as default mail7.io domain email like [email protected]

It is suggested that pass full email address for any other domain like [email protected]