Ben Borgers

⇢ Twitter

How to open up the email composer with Expo

Note: this won’t work properly when testing on iOS Simulators since you can’t sign into a mail account on the simulator.

Install the expo-mail-composer package to your Expo project:

expo install expo-mail-composer

Now, you can import and use the module. For example:

import * as MailComposer from "expo-mail-composer"

// Opens prefilled email
  recipients: [], // array of email addresses
  subject: "",
  body: ""


Last updated January 24, 2021