<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Send emails via API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315938#M30232</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/80315"&gt;@Richard_Wein&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way to send emails from outside of HubSpot is with the transactional add-on. We offer both an SMTP and Single Send Option. I appreciate that there is a cost factor invovled with this of course and it may not necessarily make sense given the size of the project.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/117534"&gt;@jgalloway&lt;/a&gt;s solution is also another one I've seen used - programmatically enrolling contacts into workflows and using the "Send external email" action. This would only be available if you are a Marketing Professional customer and does not support attachments Generally speaking marketing emails with attachments have implications regarding spam.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whilst I appreciate this isn't the ideal answer I just wanted to confirm it for you from a HubSpot perspective.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jack&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2020 08:18:36 GMT</pubDate>
    <dc:creator>jackcoldrick</dc:creator>
    <dc:date>2020-01-31T08:18:36Z</dc:date>
    <item>
      <title>Send emails via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315676#M30199</link>
      <description>&lt;P&gt;Hi. I've read several other threads on this subject, and suspect I know the answer, but I'd like to make absolutely sure I have the right answer for my particular use case, before I propose a solution to my client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing an Excel/VBA application for a client which will interface with HubSpot through the REST API. Among other things they would like my application to send emails though HubSpot, using the API. These are not sales emails, and they will have attached documents which are personalized for the particular recipient using data already in HubSpot. I believe that each recipient has their own deal, and the data will consist of deal properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I've understood everything correctly, I believe these emails could be sent (and only be sent) using the Transactional Email add-on. Unfortunately, the size of this job probably doesn't warrant paying for the add-on, so I'm hoping you'll say that there's another way to do it. My client would probably choose to send the emails outside of HubSpot rather than pay for the add-on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reading, and I look forward to your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. To clarify, I only want to do via the API what my client currently does manually in HubSpot, without needing the Transactional Email add-on.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 12:24:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315676#M30199</guid>
      <dc:creator>Richard_Wein</dc:creator>
      <dc:date>2020-01-30T12:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Send emails via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315699#M30202</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/80315"&gt;@Richard_Wein&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to solve a similar use case and as far as I understand you are correct. I'm currently leaning towards just firing off the email from within our own system. If your client has existing email/SMTP services that's probably the easiest way to go (ugh). Of course if they want to be able to create and manage the email templates, that's a whole new discussion. And I haven't done Excel/VBA in a while so I'm not sure what fresh nightmares you'll run into trying to do SMTP from clients if there's no backend or existing API based mailing service in the mix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll jot down some of my current thoughts and hopefully maybe provide some sort of inspiration. Though honestly, I highly recommend not doing any of this for a client, ha. I'm an internal guy so if one of my wacky hacks goes sideways it's just Thursday, you'll have to deal with the angry stakeholders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One possible &lt;STRIKE&gt;hack&lt;/STRIKE&gt; workaround I've found is setting up a deal based workflow that sends the mail when a custom property is set. Then when you want to send the mail, you make an API call that sets the property and triggers the workflow. I haven't dug into the mechanics of how some of the triggers work - i.e. "updated in last", "was updated after property", etc. So you might be able to leverage something there but yeah, it's scary and probably not at all recommended.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need to be able to repeat the operation it gets worse as then you're looking at reseting the property after.. some time? Ideally after the workflow triggers but before anyone would want to trigger it again? Yikes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other unknown I have for your use case is if you can set the recipients dynamically for deal-based workflows. If not, that's probably another deal breaker. It is possible to &lt;A href="https://developers.hubspot.com/docs/methods/workflows/add_contact" target="_self"&gt;enroll contacts in workflows via API&lt;/A&gt;&amp;nbsp;so that might be worth exploring. But I suspect you'll run into roadblocks trying to get deal specific data/attachments into the email.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 14:03:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315699#M30202</guid>
      <dc:creator>jgalloway</dc:creator>
      <dc:date>2020-01-30T14:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Send emails via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315794#M30211</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/117534"&gt;@jgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for replying. I've just had a look at using a workflow in the way you suggested. (I hadn't used workflows before.) But the "Send Mail" action is shown as locked, and when I click on it I'm told to contact the sales team. So maybe I still need the Transactional Email add-on to do it that way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I don't hear of another solution I'll probably just send the emails another way (outside HubSpot), and then upload the email attachment files to HubSpot via the API, so there'll still be a record of them there. So now I'm trying to work out how to upload files!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 18:25:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315794#M30211</guid>
      <dc:creator>Richard_Wein</dc:creator>
      <dc:date>2020-01-30T18:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Send emails via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315938#M30232</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/80315"&gt;@Richard_Wein&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way to send emails from outside of HubSpot is with the transactional add-on. We offer both an SMTP and Single Send Option. I appreciate that there is a cost factor invovled with this of course and it may not necessarily make sense given the size of the project.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/117534"&gt;@jgalloway&lt;/a&gt;s solution is also another one I've seen used - programmatically enrolling contacts into workflows and using the "Send external email" action. This would only be available if you are a Marketing Professional customer and does not support attachments Generally speaking marketing emails with attachments have implications regarding spam.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whilst I appreciate this isn't the ideal answer I just wanted to confirm it for you from a HubSpot perspective.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jack&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 08:18:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315938#M30232</guid>
      <dc:creator>jackcoldrick</dc:creator>
      <dc:date>2020-01-31T08:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Send emails via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315966#M30237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/5724"&gt;@jackcoldrick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for explaining. That's clear now. The reason I couldn't use Send Email must have been because I signed up for a trial subscription of Sales Professional, not Marketing Professional.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 10:56:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315966#M30237</guid>
      <dc:creator>Richard_Wein</dc:creator>
      <dc:date>2020-01-31T10:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Send emails via API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315967#M30238</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/80315"&gt;@Richard_Wein&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not a problem at all. One point to note is our Marketing trial will cap your email sends at 5000. This generally isn't a problem though!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jack&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 10:57:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Send-emails-via-API/m-p/315967#M30238</guid>
      <dc:creator>jackcoldrick</dc:creator>
      <dc:date>2020-01-31T10:57:33Z</dc:date>
    </item>
  </channel>
</rss>

