<?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: Retrieving email has subject and headers unpopulated in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/916352#M70810</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;any thoughts on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;mauricio&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2024 20:06:04 GMT</pubDate>
    <dc:creator>MBustos2</dc:creator>
    <dc:date>2024-02-02T20:06:04Z</dc:date>
    <item>
      <title>Retrieving email has subject and headers unpopulated</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/915090#M70756</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/emails" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/emails/{item_id}&lt;/A&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;for a known email connected to a contact.&amp;nbsp; &amp;nbsp;I'm able to retrieve items such as hs_attachment_ids, hs_createdate and hs_lastmodifieddate but the hs_email_subject and hs_email_headers is coming back as None.&amp;nbsp; Is there anything about the email itself that could be causing this particular field to be coming back None?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is only true for some emails.&amp;nbsp; Most emails will have this properly populated but I can't find out what the difference is in the emails themselves.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;mauricio&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 22:32:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/915090#M70756</guid>
      <dc:creator>MBustos2</dc:creator>
      <dc:date>2024-01-31T22:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving email has subject and headers unpopulated</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/915746#M70786</link>
      <description>&lt;P&gt;Hi, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/702521"&gt;@MBustos2&lt;/a&gt;&lt;/SPAN&gt; Thanks for your question. That definitely sounds like a mystery. Can you share a request and response for both results — properties included and some properties blank, please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks! — Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 22:06:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/915746#M70786</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-02-01T22:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving email has subject and headers unpopulated</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/915796#M70790</link>
      <description>&lt;P&gt;These are 2 different emails in our system.&amp;nbsp; &amp;nbsp;The first one comes back with full header information and items like subject.&amp;nbsp; &amp;nbsp;The second one is empty that way but it still returns access to the attachements which are retrievable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;mauricio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;url = &lt;SPAN&gt;f"https://api.hubapi.com/crm/v3/objects/emails/&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;item[&lt;SPAN&gt;'id'&lt;/SPAN&gt;]&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;?properties=hs_attachment_ids,hs_email_subject,hs_email_to_email,hs_email_from_email,hs_email_firstname,hs_email_lastname,hs_email_headers"&lt;BR /&gt;&lt;/SPAN&gt;response = requests.request(&lt;SPAN&gt;"GET"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;url&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;headers&lt;/SPAN&gt;=headers)&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MBustos2_0-1706829327869.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/108552iDACB5EF92B1C0C49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MBustos2_0-1706829327869.png" alt="MBustos2_0-1706829327869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MBustos2_1-1706829662435.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/108553iB076FDFE6757DA5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MBustos2_1-1706829662435.png" alt="MBustos2_1-1706829662435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 23:22:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/915796#M70790</guid>
      <dc:creator>MBustos2</dc:creator>
      <dc:date>2024-02-01T23:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving email has subject and headers unpopulated</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/916352#M70810</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;any thoughts on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;mauricio&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 20:06:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/916352#M70810</guid>
      <dc:creator>MBustos2</dc:creator>
      <dc:date>2024-02-02T20:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving email has subject and headers unpopulated</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/919141#M70921</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checking in again to see if. you have any thoughts on this behavior&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;mauricio&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 04:49:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Retrieving-email-has-subject-and-headers-unpopulated/m-p/919141#M70921</guid>
      <dc:creator>MBustos2</dc:creator>
      <dc:date>2024-02-08T04:49:45Z</dc:date>
    </item>
  </channel>
</rss>

