title: how to send attach a file from firebase storage and send it to an email using mailgun services in node.js
body: <p>Is it possible to attach a file from the firebase storage??
  I tried the following code but it doesn't work</p>
  
  <pre><code>var mailgun = require("mailgun-js");
  var api_key = 'key-acf9f881e32c85b3c0dad34358507a95';
  var DOMAIN = 'sandbox76c6f74ddab14862816390c16f37a272.mailgun.org';
  var mailgun = require('mailgun-js')({apiKey: api_key, domain: DOMAIN});
  var path = require("path");
  
  var filepath = path.join(`gs://i-m-here-c01f6.appspot.com/Groups/${leaderId}`, 'group_image.jpg');
  
  
  var data = {
      from: 'Excited User &lt;postmaster@sandbox76c6f74ddab14862816390c16f37a272.mailgun.org&gt;',
      to: 'rayteamstudio@gmail.com',
      subject: 'Complex',
      text: 'Group Creation Request',
      html: `&lt;p&gt;A user named: ${fromName} wants to create a group.&lt;br /&gt;
              User ID: ${leaderId}&lt;br /&gt;
              Group Name: ${groupName}&lt;br /&gt;
              Group Description: ${groupDescription}&lt;br /&gt;&lt;br /&gt;
              To Accept the request click here:&lt;br /&gt;
              https://us-central1-i-m-here-c01f6.cloudfunctions.net/acceptOrDenyGroupCreation?leaderID=${leaderId}&amp;requestStatus=approved &lt;br /&gt;&lt;br /&gt;
              To Deny the request click here:&lt;br /&gt;
              https://us-central1-i-m-here-c01f6.cloudfunctions.net/acceptOrDenyGroupCreation?leaderID=${leaderId}&amp;requestStatus=denied /&gt;&lt;/p&gt;`,
      attachment: filepath
  };
  
  mailgun.messages().send(data, function (error, body) {
      if(error)
          console.log('email err: ',error);
  });
  </code></pre>
  
  <p>please help</p>