{"id":9207,"date":"2020-12-30T18:29:57","date_gmt":"2020-12-30T18:29:57","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=9207"},"modified":"2026-03-05T01:25:27","modified_gmt":"2026-03-05T01:25:27","slug":"download-gmail-attachment-in-ssis","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/","title":{"rendered":"Download Gmail Attachment in SSIS"},"content":{"rendered":"<h2>Introduction<\/h2>\n<div class=\"su-note\"  style=\"border-color:#e5dd9d;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#fff7b7;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><strong>UPDATE:<\/strong>\u00a0ZappySys has released a brand new\u00a0<a href=\"https:\/\/zappysys.com\/api\/integration-hub\/gmail-connector\/ssis\" target=\"_blank\" rel=\"noopener\">Gmail Connector for SSIS<\/a>, which makes it much simpler to\u00a0<strong>download attachments, read \/ search Emails, users, mail folders, send emails, and more in SSIS<\/strong> compared to the steps listed in this article. You can still use the steps from this article, but if you are new to APIs or want to avoid the learning curve, use a newer approach.<\/div><\/div>\n<p>Downloading Gmail Attachments in SSIS is always a little more difficult than working with simple text or numeric columns. If you are not an SSIS expert, doing it for the first time may be challenging. That is why we created this article for you. This is a common request we receive, so we are bringing this article to you.<\/p>\n<p>Gmail is the most popular email service in the world, and it can be helpful to automate and get valuable information from it. We will connect to Gmail with the REST API. For that, if you are not an experienced user of the REST API, do not worry. This article is for you. We will provide simple steps for the connection.<\/p>\n<h2>Requirements<\/h2>\n<p>To do it, we will need the following components:<\/p>\n<ol>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/ssdt\/previous-releases-of-sql-server-data-tools-ssdt-and-ssdt-bi?view=sql-server-ver15\">SSDT for SSIS<\/a> must be installed on your computer<\/li>\n<li><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/download\/\">ZappySys SSIS Powerpack<\/a> should be installed. This Powerpack Plugin includes connectors to Gmail via the REST API.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2>Getting Started<\/h2>\n<h3>Creating the connection<\/h3>\n<ol>\n<li>First of all, in SSDT, create a new SSIS project<\/li>\n<li>To create a connection in SSDT, open the Connection Manager and select New Connection.\n<div id=\"attachment_11671\" style=\"width: 732px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11671\" class=\"wp-image-11671 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png\" alt=\"Create a new connection\" width=\"722\" height=\"229\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png 722w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection-300x95.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection-720x229.png 720w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/a><p id=\"caption-attachment-11671\" class=\"wp-caption-text\">Create a new connection<\/p><\/div><\/li>\n<li>Select the ZS OAuth connection. This is a special connection included\u00a0with the <a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/download\/\">ZS.<br \/>\nSSIS PowerPack<\/a> installer that we will use to connect to Gmail.<\/p>\n<div id=\"attachment_11676\" style=\"width: 488px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Select-ZS-OAuth-connector.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11676\" class=\"wp-image-11676 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Select-ZS-OAuth-connector.png\" alt=\"Select ZS-OAuth connector\" width=\"478\" height=\"447\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Select-ZS-OAuth-connector.png 478w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Select-ZS-OAuth-connector-300x281.png 300w\" sizes=\"(max-width: 478px) 100vw, 478px\" \/><\/a><p id=\"caption-attachment-11676\" class=\"wp-caption-text\">Select ZS-OAuth connector<\/p><\/div>\n<div class=\"mceTemp\"><\/div>\n<\/li>\n<li>In the ZS OAuth connection, select the Google API OAuth Provider and specify the following credentials and scope permissions:\n<div id=\"attachment_11677\" style=\"width: 713px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/SSIS-Gmail-connection-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11677\" class=\"size-full wp-image-11677\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/SSIS-Gmail-connection-1.png\" alt=\"SSIS Gmail connection\" width=\"703\" height=\"674\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/SSIS-Gmail-connection-1.png 703w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/SSIS-Gmail-connection-1-300x288.png 300w\" sizes=\"(max-width: 703px) 100vw, 703px\" \/><\/a><p id=\"caption-attachment-11677\" class=\"wp-caption-text\">SSIS Gmail connection<\/p><\/div>\n<pre class=\"lang:default highlight:0 decode:true\">https:\/\/mail.google.com\/\r\nhttps:\/\/www.googleapis.com\/auth\/gmail.modify\r\nhttps:\/\/www.googleapis.com\/auth\/gmail.readonly\r\nhttps:\/\/www.googleapis.com\/auth\/gmail.addons.current.message.readonly\r\nhttps:\/\/www.googleapis.com\/auth\/gmail.addons.current.message.action<\/pre>\n<\/li>\n<\/ol>\n<h3>Creating the package to download Gmail attachments in SSIS<\/h3>\n<ol>\n<li>First of all, drag and drop the Data Flow Task from the SSIS Toolbox and double-click it<br \/>\nto edit.<\/p>\n<div id=\"attachment_11622\" style=\"width: 472px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/08\/Drag-and-Drop-SSIS-Data-Flow-Task-from-SSIS-Toolbox.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11622\" class=\"wp-image-11622 size-full\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/08\/Drag-and-Drop-SSIS-Data-Flow-Task-from-SSIS-Toolbox.png\" alt=\"\" width=\"462\" height=\"157\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/08\/Drag-and-Drop-SSIS-Data-Flow-Task-from-SSIS-Toolbox.png 462w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2019\/08\/Drag-and-Drop-SSIS-Data-Flow-Task-from-SSIS-Toolbox-300x102.png 300w\" sizes=\"(max-width: 462px) 100vw, 462px\" \/><\/a><p id=\"caption-attachment-11622\" class=\"wp-caption-text\">Drag and Drop SSIS Data Flow Task from SSIS Toolbox<\/p><\/div><\/li>\n<li>Secondly, in the Data Flow, we will use the JSON Source to connect to\u00a0Gmail and get the attachments. JSON Source is a ZappySys component used now\u00a0only to connect to JSON files, but also to connect to REST API\u00a0Servers that support JSON. In this case, Gmail REST API can send information\u00a0in JSON Format. Use the connection created before.<\/li>\n<li>Basically, we need to specify the URL of the Gmail attachment. In Gmail,\u00a0the email attachment is inside the message. Then you need to specify the\u00a0<em>message-id<\/em> and the Gmail <em>attachment-id<\/em> like this:\n<div id=\"attachment_11678\" style=\"width: 838px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Zappysys-JSON-source-Gmail-attachments-configuration.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11678\" class=\"size-full wp-image-11678\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Zappysys-JSON-source-Gmail-attachments-configuration.png\" alt=\"Zappysys JSON source Gmail attachments configuration\" width=\"828\" height=\"717\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Zappysys-JSON-source-Gmail-attachments-configuration.png 828w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Zappysys-JSON-source-Gmail-attachments-configuration-300x260.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Zappysys-JSON-source-Gmail-attachments-configuration-768x665.png 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><\/a><p id=\"caption-attachment-11678\" class=\"wp-caption-text\">Zappysys JSON source Gmail attachments configuration<\/p><\/div>\n<pre class=\"lang:default decode:true\">https:\/\/www.googleapis.com\/gmail\/v1\/users\/me\/messages\/{{User::email_id}}\/attachments\/{{User::attachment_id}}<\/pre>\n<\/li>\n<li>Now, in the go-to columns tab, set the data type to DT_IMAGE and increase the length of the other columns&#8217; DT_WSTR fields by 1000 and 1500. We set <span class=\"lang:default decode:true crayon-inline\">contentBytes<\/span> to the <span class=\"lang:default decode:true crayon-inline \">DT_IMAGE<\/span>\u00a0 datatype, it&#8217;s like <span class=\"lang:default decode:true crayon-inline\">varbinary(MAX)<\/span>\n<div id=\"attachment_11675\" style=\"width: 836px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/JSON-Source-Columns-Tab-attachment-datatype.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11675\" class=\"size-full wp-image-11675\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/JSON-Source-Columns-Tab-attachment-datatype.png\" alt=\"JSON Source Columns Tab - attachment datatype\" width=\"826\" height=\"331\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/JSON-Source-Columns-Tab-attachment-datatype.png 826w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/JSON-Source-Columns-Tab-attachment-datatype-300x120.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/JSON-Source-Columns-Tab-attachment-datatype-768x308.png 768w\" sizes=\"(max-width: 826px) 100vw, 826px\" \/><\/a><p id=\"caption-attachment-11675\" class=\"wp-caption-text\">JSON Source Columns Tab &#8211; attachment datatype<\/p><\/div><\/li>\n<li>Next, we will use the derived column to set the path to the local folder where the attachment will be stored. The derived column will be used to set the local path for the attachment. Make sure to specify valid paths with double backslashes, since backslashes are special characters. The derived column is a special transformation component that creates new columns. <a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/integration-services\/expressions\/integration-services-ssis-expressions?view=sql-server-ver15\">SSIS expressions<\/a>.\n<div id=\"attachment_11672\" style=\"width: 798px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Derived-columns-Gmail-attachment.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11672\" class=\"size-full wp-image-11672\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Derived-columns-Gmail-attachment.png\" alt=\"Derived columns - Gmail attachment\" width=\"788\" height=\"624\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Derived-columns-Gmail-attachment.png 788w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Derived-columns-Gmail-attachment-300x238.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Derived-columns-Gmail-attachment-768x608.png 768w\" sizes=\"(max-width: 788px) 100vw, 788px\" \/><\/a><p id=\"caption-attachment-11672\" class=\"wp-caption-text\">Derived columns &#8211; Gmail attachment file path<\/p><\/div><\/li>\n<li>Also, we will require the Export column to download into a file. This\u00a0component is specially used to get images or binary files into the file\u00a0system.\n<div id=\"attachment_11673\" style=\"width: 763px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Export-columns-transformation-Gmail-attachment.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11673\" class=\"size-full wp-image-11673\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Export-columns-transformation-Gmail-attachment.png\" alt=\"Export columns transformation - Gmail attachment\" width=\"753\" height=\"637\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Export-columns-transformation-Gmail-attachment.png 753w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Export-columns-transformation-Gmail-attachment-300x254.png 300w\" sizes=\"(max-width: 753px) 100vw, 753px\" \/><\/a><p id=\"caption-attachment-11673\" class=\"wp-caption-text\">Export columns transformation &#8211; Gmail attachment<\/p><\/div><\/li>\n<li>Finally, we will use the\u00a0<a href=\"https:\/\/zappysys.com\/blog\/ssis-trash-destination-dummy-data-source-example\/\">Trash destination<\/a> to get the attachment and finish the flow. This one is also a ZappySys component ubiquitous.<\/li>\n<li>Your package should be something like this:\n<div id=\"attachment_11674\" style=\"width: 306px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Final-Result-Gmail-attachment.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11674\" class=\"size-full wp-image-11674\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Final-Result-Gmail-attachment.png\" alt=\"Final Result - Gmail attachment\" width=\"296\" height=\"320\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Final-Result-Gmail-attachment.png 296w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Final-Result-Gmail-attachment-278x300.png 278w\" sizes=\"(max-width: 296px) 100vw, 296px\" \/><\/a><p id=\"caption-attachment-11674\" class=\"wp-caption-text\">Final Result &#8211; Gmail attachment<\/p><\/div><\/li>\n<li>The next step is to run it and test it.<\/li>\n<li>If everything is fine, we will be able to see the file in your system.<\/li>\n<\/ol>\n<h2>Conclusion<\/h2>\n<p>In conclusion, we learned how to download Gmail attachments in SSIS. Basically, you need to use the ZappySys JSON Source to connect to Gmail via the REST API, then use the derived column component to specify the path to store the attachment. The next step is to use the Export column component to export the attachment. Finally, the ZS Trash destination is the attachment&#8217;s destination. If you liked this article, do not hesitate to continue testing and using <a href=\"https:\/\/zappysys.com\/\">ZappySys PowerPack for SSIS.<\/a><\/p>\n<h2>API Connector<\/h2>\n<p>Here are a few examples with our <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/gmail-connector\/ssis\">API connector for Gmail <\/a><\/p>\n<div id=\"attachment_11670\" style=\"width: 992px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/API-connector-Gmail-get-message-attachments.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11670\" class=\"size-full wp-image-11670\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/API-connector-Gmail-get-message-attachments.png\" alt=\"API connector - Gmail get message attachments\" width=\"982\" height=\"684\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/API-connector-Gmail-get-message-attachments.png 982w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/API-connector-Gmail-get-message-attachments-300x209.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/API-connector-Gmail-get-message-attachments-768x535.png 768w\" sizes=\"(max-width: 982px) 100vw, 982px\" \/><\/a><p id=\"caption-attachment-11670\" class=\"wp-caption-text\">API connector &#8211; Gmail get message attachments<\/p><\/div>\n<div id=\"attachment_11669\" style=\"width: 992px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/API-connector-Gmail-download-message-attachments.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11669\" class=\"size-full wp-image-11669\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/API-connector-Gmail-download-message-attachments.png\" alt=\"API connector - Gmail download message attachments\" width=\"982\" height=\"684\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/API-connector-Gmail-download-message-attachments.png 982w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/API-connector-Gmail-download-message-attachments-300x209.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/API-connector-Gmail-download-message-attachments-768x535.png 768w\" sizes=\"(max-width: 982px) 100vw, 982px\" \/><\/a><p id=\"caption-attachment-11669\" class=\"wp-caption-text\">API connector &#8211; Gmail download message attachments<\/p><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Downloading Gmail Attachments in SSIS is always a little more difficult than working with simple text or numeric columns. If you are not an SSIS expert, doing it for the first time may be challenging. That is why we created this article for you. This is a common request we receive, so we are [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":11671,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[277,225],"tags":[587,531,306,596,12,595],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Download Gmail Attachment in SSIS in a simple way automatically<\/title>\r\n<meta name=\"description\" content=\"This article shows how to Download Gmail Attachment in SSIS using simple steps. For this article, we will need ZappySys to connect to Gmail\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Download Gmail Attachment in SSIS in a simple way automatically\" \/>\r\n<meta property=\"og:description\" content=\"This article shows how to Download Gmail Attachment in SSIS using simple steps. For this article, we will need ZappySys to connect to Gmail\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2020-12-30T18:29:57+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2026-03-05T01:25:27+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"722\" \/>\r\n\t<meta property=\"og:image:height\" content=\"229\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys Team\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/\",\"url\":\"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/\",\"name\":\"Download Gmail Attachment in SSIS in a simple way automatically\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png\",\"datePublished\":\"2020-12-30T18:29:57+00:00\",\"dateModified\":\"2026-03-05T01:25:27+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e\"},\"description\":\"This article shows how to Download Gmail Attachment in SSIS using simple steps. For this article, we will need ZappySys to connect to Gmail\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png\",\"width\":722,\"height\":229,\"caption\":\"Create a new connection\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Download Gmail Attachment in SSIS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e\",\"name\":\"ZappySys Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g\",\"caption\":\"ZappySys Team\"},\"sameAs\":[\"https:\/\/zappysys.com\"],\"url\":\"https:\/\/zappysys.com\/blog\/author\/dcalbimonte\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Download Gmail Attachment in SSIS in a simple way automatically","description":"This article shows how to Download Gmail Attachment in SSIS using simple steps. For this article, we will need ZappySys to connect to Gmail","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/","og_locale":"en_US","og_type":"article","og_title":"Download Gmail Attachment in SSIS in a simple way automatically","og_description":"This article shows how to Download Gmail Attachment in SSIS using simple steps. For this article, we will need ZappySys to connect to Gmail","og_url":"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/","og_site_name":"ZappySys Blog","article_published_time":"2020-12-30T18:29:57+00:00","article_modified_time":"2026-03-05T01:25:27+00:00","og_image":[{"width":722,"height":229,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png","type":"image\/png"}],"author":"ZappySys Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ZappySys Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/","url":"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/","name":"Download Gmail Attachment in SSIS in a simple way automatically","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png","datePublished":"2020-12-30T18:29:57+00:00","dateModified":"2026-03-05T01:25:27+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e"},"description":"This article shows how to Download Gmail Attachment in SSIS using simple steps. For this article, we will need ZappySys to connect to Gmail","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2020\/12\/Create-a-new-connection.png","width":722,"height":229,"caption":"Create a new connection"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/download-gmail-attachment-in-ssis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Download Gmail Attachment in SSIS"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/91b041e2dcf7ece5f068893c1a68ac6e","name":"ZappySys Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/746bec9c9d27f1b90bb181aa516ee234?s=96&d=mm&r=g","caption":"ZappySys Team"},"sameAs":["https:\/\/zappysys.com"],"url":"https:\/\/zappysys.com\/blog\/author\/dcalbimonte\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/9207"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=9207"}],"version-history":[{"count":10,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/9207\/revisions"}],"predecessor-version":[{"id":11668,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/9207\/revisions\/11668"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/11671"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=9207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=9207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=9207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}