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 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-native-email-action

v1.1.0

Published

A simple and customized way to open email linking (Best option for iOS that will ask you what email provider you can use)

Readme

React Native Email Action

npm version Downloads

A simple and customized way to open email linking (Best option for iOS that will ask you what email app you can use, if installed)

Demo (iOS)

Alt Text

Installation

yarn add react-native-email-action

iOS Only

After iOS 9+, you need to add this information keys on Info.plist

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>message</string>
  <string>ms-outlook</string>
  <string>googlegmail</string>
</array>

Usage

import { sendEmail } from 'react-native-email-action';

const options = {
  to: '[email protected]',
  subject: 'Very important!',
  body: 'Verify your email fast!',
};
sendEmail(options);

Configuring Available Email Apps

By default, the library checks for Mail, Outlook, and Gmail. You can customize which email apps are available by using the configureEmailApps function:

import { sendEmail, configureEmailApps } from 'react-native-email-action';

// Enable specific email apps
configureEmailApps(['mail', 'gmail', 'outlook', 'spark', 'airmail']);

// Or pass appIds directly to sendEmail for one-off usage
sendEmail({
  to: '[email protected]',
  subject: 'Subject',
  body: 'Body',
  appIds: ['gmail', 'outlook', 'spark'],
});

Available Options to sendMail

| | description | type | required | | ------- | -------------------- | ------ | -------- | | to | Email to destination | string | Y | | subject | Email Subject | string | Y | | body | Email Content | string | Y | | cc | Email CC | array | N | | bcc | Email BCC | array | N |

Available email apps

iOS (If installed)

  • Mail
  • Gmail
  • Outlook
  • Spark
  • Airmail
  • Superhuman
  • Yahoo Mail
  • Fastmail
  • ProtonMail

You can use any of these app IDs when calling configureEmailApps(): mail, gmail, outlook, spark, airmail, superhuman, ymail, fastmail, protonmail

Android

  • All the apps installed.

iOS Configuration

After iOS 9+, you need to add the URL schemes for the email apps you want to support in your Info.plist:

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>message</string>
<!-- iOS configuration details are consolidated below -->
  <string>ms-outlook</string>
  <string>googlegmail</string>
  <string>readdle-spark</string>
  <string>airmail</string>
</array>

Roadmap

API

  • sendEmail(options): Opens the email composer. On iOS, shows an action sheet listing available apps based on configureEmailApps() or options.appIds.
  • configureEmailApps(appIds): Sets the default list of email apps to check on iOS. Use app IDs from the list below.
  • ~~Add other app emails for iOS~~ ✅ Done! (configurable)
  • Add attachment option