Skip to main content
Community Plugin
View plugin on GitHub
See starters using this

💌 Mailgo Gatsby plugin

a new concept of mailto and tel links


npm install --save gatsby-plugin-mailgo


yarn add gatsby-plugin-mailgo

then add gatsby-plugin-mailgo in your gatsby-config.js file.

module.exports = {
  plugins: [`...`, `gatsby-plugin-mailgo`, `...`],

From the Gatsby plugin 0.9.8 you can pass the mailgo configuration with mailgoConfig option, here an example

module.exports = {
  plugins: [
      resolve: `gatsby-plugin-mailgo`,
      options: {
        mailgoConfig: {
          dark: true,

you can create your mailgoConfig using all the attributes specified in the docs.

Be careful initEvent parameter, be sure that window has been initialized! We recommend not to specify it in mailgoConfig to avoid any type of error and be sure that mailgo will be started correctly.


By default all mailto and tel links in your Gatsby website are enabled with mailgo!

See all the details of usage on


mailgo screencast


On GatsbyJS