{"id":11380,"date":"2025-06-19T13:19:00","date_gmt":"2025-06-19T13:19:00","guid":{"rendered":"https:\/\/zappysys.com\/blog\/?p=11380"},"modified":"2026-03-19T23:07:21","modified_gmt":"2026-03-19T23:07:21","slug":"how-to-download-outlook-office-365-emails-as-eml-or-msg-files","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/","title":{"rendered":"How to download Outlook (Office 365) Emails as .EML or .MSG Files"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" title=\"Outlook Mail (Office 365)\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/Outlook-28x281-1.png\" alt=\"Outlook Mail (Office 365)\" width=\"100\" height=\"100\" \/> In this article, you will learn how to download Outlook (Office 365) emails as .EML or .MSG files using ZappySys SSIS PowerPack without writing any code. We\u2019ll leverage the power of Microsoft Graph API, which provides unified access to Microsoft 365 services like Outlook Mail, and integrate it seamlessly using the <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/outlook-mail-connector\/ssis\">API Connector for SSIS Outlook Mail (Office 365)<\/a>, Web API Destination and other components. By the end, you\u2019ll be able to automate the process of extracting emails and saving them to disk in standard email formats directly from your SSIS package.<\/p>\n<div class=\"content_block\" id=\"custom_post_widget-2523\"><h2><span id=\"Prerequisites\">Prerequisites<\/span><\/h2>\r\nBefore we perform the steps listed in this article, you will need to make sure the following prerequisites are met:\r\n<ol style=\"margin-left: 1.5em;\">\r\n \t<li><abbr title=\"SQL Server Integration Services\">SSIS<\/abbr> designer installed.\u00a0Sometimes it is referred to as <abbr title=\"Business Intelligence Development Studio\">BIDS<\/abbr> or <abbr title=\"SQL Server Data Tools\">SSDT<\/abbr> (<a href=\"https:\/\/docs.microsoft.com\/en-us\/sql\/ssdt\/download-sql-server-data-tools-ssdt\" target=\"_blank\" rel=\"noopener\">download it from the Microsoft site<\/a>).<\/li>\r\n \t<li>Basic knowledge of SSIS package\u00a0development using\u00a0<em>Microsoft SQL Server Integration Services<\/em>.<\/li>\r\n \t<li>Make sure\u00a0<span style=\"text-decoration: underline;\"><a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/\" target=\"_blank\" rel=\"noopener\">ZappySys SSIS PowerPack<\/a><\/span>\u00a0is installed (<a href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/download\/\" target=\"_blank\" rel=\"noopener\">download it<\/a>, if you haven't already).<\/li>\r\n \t<li>(<em>Optional step<\/em>)<em>.<\/em>\u00a0<a href=\"https:\/\/zappysys.zendesk.com\/hc\/en-us\/articles\/360035974593\" target=\"_blank\" rel=\"noopener\">Read this article<\/a>, if you are planning to deploy packages to a server and schedule their execution later.<\/li>\r\n<\/ol><\/div>\n<h2>Step 1: Register an Application in Azure Portal<\/h2>\n<p>To access Outlook emails via Microsoft Graph API, the first step is to register an application in the Azure Portal. This allows your SSIS package to authenticate securely and retrieve mail data from Office 365.<br \/>\nStep by step info is available here Outlook Mail (Office 365) Connector Authentication section.<\/p>\n<h3>User Credentials<\/h3>\n<p>Use delegated access (User Credentials) whenever you want to let a signed-in user work with their own resources or resources they can access. Whether it&#8217;s an admin setting up policies for their entire organization or a user deleting an email in their inbox, all scenarios involving user actions should use delegated access.<br \/>\n<b>Refer to this links for the detailed steps:<\/b> <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/outlook-mail-connector\/help\/authentication\/usercreds\/\" target=\"_blank\" rel=\"noopener\">User Credentials [OAuth]<\/a><\/p>\n<h3>Application Credentials<\/h3>\n<p>Application-only access is broader and more powerful than delegated access (User Credentials), so you should only use app-only access where needed. Use it when:<\/p>\n<ol>\n<li>The application needs to run in an automated way, without user input (for example, a daily script that checks emails from certain contacts and sends automated responses).<\/li>\n<li>The application needs to access resources belonging to multiple different users (for example, a backup or data loss prevention app might need to retrieve messages from many different chat channels, each with different participants).<\/li>\n<li>You find yourself tempted to store credentials locally and allow the app to sign in &#8216;as&#8217; the user or admin.<\/li>\n<\/ol>\n<p><b>Refer to this links for the detailed steps:<\/b> <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/outlook-mail-connector\/help\/authentication\/appcreds\/ target=\">Application Credentials [OAuth]<\/a><\/p>\n<h2>Step 2: Download Outlook (Office 365) Emails as .EML Files using SSIS<\/h2>\n<p>Now let\u2019s look at some examples of how to access your Outlook emails using our easy-to-use Outlook Mail Connector in ZappySys SSIS PowerPack. This connector simplifies calling the Microsoft Graph API, so you can retrieve emails with just a few clicks.<br \/>\nIn this section we will learn how to configure and use Outlook Mail (Office 365) Connector in <a title=\"SSIS API Source\" href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-api-source\/\">API Source<\/a> to extract data from Outlook Mail (Office 365).<\/p>\n<ol>\n<li>Begin with opening Visual Studio and Create a New Project.<\/li>\n<li>Select Integration Service Project and in new project window set the appropriate name and location for project.<br \/>\nAnd click OK.<\/li>\n<li>In the new SSIS project screen you will find the following:\n<ol type=\"i\">\n<li>SSIS ToolBox on left side bar<\/li>\n<li>Solution Explorer and Property Window on right bar<\/li>\n<li>Control flow, data flow, event Handlers, Package Explorer in tab windows<\/li>\n<li>Connection Manager Window in the bottom<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"img-thumbnail\" title=\"SSIS Project Screen\" src=\"https:\/\/cdn.zappysys.com\/api\/images\/zappysys-ssis-project-with-toolbox.png\" alt=\"SSIS Project Screen\" width=\"1059\" height=\"675\" \/><\/p>\n<div class=\"alert alert-warning\">Note: If you don&#8217;t see ZappySys SSIS PowerPack Task or Components in SSIS Toolbox, please refer to <a href=\"https:\/\/zappysys.zendesk.com\/hc\/en-us\/articles\/115004935754-I-don-t-see-PowerPack-components-in-SSIS-Toolbox\">this help link<\/a>.<\/div>\n<\/li>\n<li>Now, Drag and Drop <b>SSIS Data Flow Task<\/b> from SSIS Toolbox. Double click on the <em>Data Flow Task<\/em> to see <em>Data Flow<\/em> designer.<img loading=\"lazy\" decoding=\"async\" class=\"img-thumbnail\" title=\"SSIS Data Flow Task - Drag and Drop\" src=\"https:\/\/cdn.zappysys.com\/onlinehelp\/ssis-powerpack\/scr\/images\/drag-and-drop-data-flow-task.png\" alt=\"SSIS Data Flow Task - Drag and Drop\" width=\"460\" height=\"155\" \/><\/li>\n<li>From the SSIS toolbox drag and <a title=\"SSIS API Source\" href=\"https:\/\/zappysys.com\/products\/ssis-powerpack\/ssis-api-source\/\">API Source<\/a> (Predefined Templates) on the data flow designer surface, and double click on it to edit it:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"img-thumbnail\" title=\"SSIS API Source (Predefined Templates) - Drag and Drop\" src=\"https:\/\/cdn.zappysys.com\/api\/images\/ssis-api-source-drag-and-drop.jpg\" alt=\"SSIS API Source (Predefined Templates) - Drag and Drop\" width=\"659\" height=\"292\" \/><\/li>\n<li>Select <strong>New Connection<\/strong> to create a new connection:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"img-thumbnail img-thumbnail\" title=\"API Source - New Connection\" src=\"https:\/\/cdn.zappysys.com\/api\/images\/ssis-api-source-new-connection.png\" alt=\"API Source - New Connection\" width=\"684\" height=\"643\" \/><\/li>\n<li>Use a preinstalled Outlook Mail (Office 365) Connector from <em>Popular Connector List<\/em> or press <em>Search Online<\/em> radio button to download Outlook Mail (Office 365) Connector. Once downloaded simply use it in the configuration:\n<div id=\"attachment_11392\" style=\"width: 722px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-select-outlook-mail-connector.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11392\" class=\"size-full wp-image-11392\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-select-outlook-mail-connector.png\" alt=\"Outlook Mail (Office 365) Connector Selection\" width=\"712\" height=\"654\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-select-outlook-mail-connector.png 712w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-select-outlook-mail-connector-300x276.png 300w\" sizes=\"(max-width: 712px) 100vw, 712px\" \/><\/a><p id=\"caption-attachment-11392\" class=\"wp-caption-text\">Outlook Mail (Office 365) Connector Selection<\/p><\/div><\/li>\n<li>Proceed with selecting the desired Authentication Type. Then select <em>API Base URL<\/em> (in most cases default one is the right one). Finally, fill in all the required parameters and set optional parameters if needed. You may press a link <strong>Steps to Configure<\/strong> which will help set certain parameters. More info is available in <a href=\"https:\/\/zappysys.com\/api\/integration-hub\/outlook-mail-connector\/help\/authentication\/UserCreds\">Authentication section<\/a>.\n<ol>\n<li>User Credentials [OAuth]\n<div id=\"attachment_11394\" style=\"width: 806px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-user-cred-authentication.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11394\" class=\"size-full wp-image-11394\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-user-cred-authentication.png\" alt=\"User Credentials [OAuth]\" width=\"796\" height=\"732\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-user-cred-authentication.png 796w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-user-cred-authentication-300x276.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-user-cred-authentication-768x706.png 768w\" sizes=\"(max-width: 796px) 100vw, 796px\" \/><\/a><p id=\"caption-attachment-11394\" class=\"wp-caption-text\">User Credentials [OAuth]<\/p><\/div><b>OR<\/b><\/li>\n<li>Application Credentials [OAuth]\n<div id=\"attachment_11395\" style=\"width: 809px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-app-cred-authentication.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11395\" class=\"size-full wp-image-11395\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-app-cred-authentication.png\" alt=\"Application Credentials [OAuth]\" width=\"799\" height=\"735\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-app-cred-authentication.png 799w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-app-cred-authentication-300x276.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-app-cred-authentication-768x706.png 768w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/a><p id=\"caption-attachment-11395\" class=\"wp-caption-text\">Application Credentials [OAuth]<\/p><\/div><\/li>\n<\/ol>\n<\/li>\n<li>Select the <b>Get Messsages<\/b> endpoint, change\/pass the properties values, and click on <strong>Preview Data<\/strong> button to make the API call.\n<div id=\"attachment_11397\" style=\"width: 756px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-select-outlook-mail-get-messages.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11397\" class=\"size-full wp-image-11397\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-select-outlook-mail-get-messages.png\" alt=\"API Source - Get Messages Endpoint\" width=\"746\" height=\"603\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-select-outlook-mail-get-messages.png 746w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-select-outlook-mail-get-messages-300x242.png 300w\" sizes=\"(max-width: 746px) 100vw, 746px\" \/><\/a><p id=\"caption-attachment-11397\" class=\"wp-caption-text\">API Source &#8211; Get Messages Endpoint<\/p><\/div><\/li>\n<li>That\u2019s it \u2014 click <b>OK<\/b> and you&#8217;re done! In just a few clicks, you\u2019ve successfully configured a connection to <b>Outlook Mail (Office 365)<\/b> using the <b>Outlook Mail Connector<\/b>.<\/li>\n<li>Now let&#8217;s move to the next step \u2014 retrieving the full email content.<br \/>\nYou\u2019ll use the <strong>Web API Destination<\/strong> component to make the <strong>Get MIME content<\/strong> API call. Within this task, you can dynamically pass the <strong>Message ID<\/strong> to fetch each email\u2019s raw <code>.EML<\/code> content from Outlook (Office 365).<br \/>\nFor more details, refer to the official Microsoft documentation: <a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/message-get?view=graph-rest-1.0&amp;tabs=http#example-4-get-mime-content\" target=\"_blank\" rel=\"noopener\">Get Outlook Mail MIME content<\/a><\/li>\n<li>Drag and drop the <b>Web API Destination<\/b> component from the SSIS Toolbox onto your Data Flow.<br \/>\nDouble-click to open it, then configure as follows and create a new OAuth Connection if needed:<strong>URL:<\/strong><\/p>\n<blockquote><p>https:\/\/graph.microsoft.com\/v1.0\/me\/messages\/&lt;%Id%&gt;\/$value<\/p><\/blockquote>\n<p>The &lt;%Id%&gt; placeholder is dynamically replaced by SSIS at runtime with the actual Message ID, allowing the Web API Destination to download each email\u2019s .EML content individually.<\/p>\n<div id=\"attachment_11407\" style=\"width: 730px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-web-api-destination-mail-get-mime-message.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11407\" class=\"size-large wp-image-11407\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-web-api-destination-mail-get-mime-message-1024x748.png\" alt=\"Get MIME content\u2019 API call using the Web API Destination\" width=\"720\" height=\"526\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-web-api-destination-mail-get-mime-message-1024x748.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-web-api-destination-mail-get-mime-message-300x219.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-web-api-destination-mail-get-mime-message-768x561.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-web-api-destination-mail-get-mime-message.png 1074w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-11407\" class=\"wp-caption-text\">Get MIME content\u2019 API call using the Web API Destination<\/p><\/div><\/li>\n<li>You\u2019ll also need to create the OAuth connection using the same credentials.<br \/>\nOn the Advanced tab, make sure to set the Redirect URL correctly.For detailed steps, refer to this guide:<br \/>\n<a href=\"https:\/\/zappysys.com\/blog\/rest-api-authentication-with-oauth-2-0-using-ssis\/\" target=\"_blank\" rel=\"noopener\">How to set up OAuth 2.0 in SSIS<\/a><\/p>\n<div id=\"attachment_11408\" style=\"width: 711px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-oauth-connection.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11408\" class=\"size-full wp-image-11408\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-oauth-connection.png\" alt=\"Outlook Mail OAuth 2.0 Connection\" width=\"701\" height=\"763\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-oauth-connection.png 701w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-outlook-mail-oauth-connection-276x300.png 276w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/a><p id=\"caption-attachment-11408\" class=\"wp-caption-text\">Outlook Mail OAuth 2.0 Connection<\/p><\/div><\/li>\n<li>Next, add a Derived Column transformation to create a new column that defines the file path for saving the <strong>.EML<\/strong> file.<br \/>\nIn this example, we\u2019ll use the Message ID to generate a unique file name for each email:Expression:<\/p>\n<blockquote><p>(DT_WSTR,1000)&#8221;E:\\\\zsTemp\\\\&#8221; + [Id] + &#8220;.eml&#8221;<\/p><\/blockquote>\n<div id=\"attachment_11409\" style=\"width: 730px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-derived-column-add-filename.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11409\" class=\"size-large wp-image-11409\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-derived-column-add-filename-1024x626.png\" alt=\"Derived Column - Dynamic File Path\" width=\"720\" height=\"440\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-derived-column-add-filename-1024x626.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-derived-column-add-filename-300x184.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-derived-column-add-filename-768x470.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-derived-column-add-filename.png 1154w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-11409\" class=\"wp-caption-text\">Derived Column &#8211; Dynamic File Path<\/p><\/div><\/li>\n<li>Now, add an <strong>Export Column<\/strong> transformation to save the email content to a file.\n<ul>\n<li><strong>Extract Column:<\/strong> set to <code>ResponseText<\/code> (this holds the email content from Web API Destination)<\/li>\n<li><strong>File Path Column:<\/strong> set to the column you created in the <strong>Derived Column<\/strong> step (e.g., <code>FilePath<\/code>)<\/li>\n<li>Enable <strong>Force Truncate<\/strong> and <strong>Write Byte-Order Mark<\/strong> options<\/li>\n<\/ul>\n<div id=\"attachment_11411\" style=\"width: 730px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-export-column-save-to-file.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11411\" class=\"size-large wp-image-11411\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-export-column-save-to-file-1024x574.png\" alt=\"Export Column - write the email content to a file on disk.\" width=\"720\" height=\"404\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-export-column-save-to-file-1024x574.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-export-column-save-to-file-300x168.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-export-column-save-to-file-768x431.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-export-column-save-to-file.png 1216w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-11411\" class=\"wp-caption-text\">Export Column &#8211; write the email content to a file on disk.<\/p><\/div><\/li>\n<li><b>Set File Encoding to UTF-8 (Optional)<\/b><br \/>\nNext, go to the <strong>Control Flow<\/strong> and use the <strong>Advanced File System Task<\/strong> to convert the downloaded <code>.eml<\/code> file\u2019s encoding to <strong>UTF-8<\/strong>.<br \/>\nThis step is optional \u2014 I had to apply it on my system because the files weren\u2019t opening correctly due to a non-UTF-8 encoding.<br \/>\nIf you encounter a similar issue, follow this step to ensure proper compatibility with email clients.<\/p>\n<div id=\"attachment_11413\" style=\"width: 889px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-advanced-file-system-task-change-encoding.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11413\" class=\"size-full wp-image-11413\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-advanced-file-system-task-change-encoding.png\" alt=\"Advanced File System Task - Change Encoding\" width=\"879\" height=\"663\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-advanced-file-system-task-change-encoding.png 879w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-advanced-file-system-task-change-encoding-300x226.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/ssis-advanced-file-system-task-change-encoding-768x579.png 768w\" sizes=\"(max-width: 879px) 100vw, 879px\" \/><\/a><p id=\"caption-attachment-11413\" class=\"wp-caption-text\">Advanced File System Task &#8211; Change Encoding<\/p><\/div><\/li>\n<li><strong>That\u2019s it!<\/strong> The process will now automatically download your Outlook messages to your local system as <code>.EML<\/code> files.\n<div id=\"attachment_11414\" style=\"width: 730px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/outlook-mail-files.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11414\" class=\"size-large wp-image-11414\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/outlook-mail-files-1024x450.png\" alt=\"Outlook .eml file\u2019s\" width=\"720\" height=\"316\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/outlook-mail-files-1024x450.png 1024w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/outlook-mail-files-300x132.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/outlook-mail-files-768x338.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/outlook-mail-files.png 1044w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><p id=\"caption-attachment-11414\" class=\"wp-caption-text\">Outlook .eml file\u2019s<\/p><\/div><\/li>\n<\/ol>\n<h2>Conclusion<\/h2>\n<p>Using <strong>ZappySys SSIS PowerPack<\/strong> and Microsoft Graph API, you can easily automate the download of Outlook (Office 365) emails in <code>.EML<\/code> format \u2014 all within SSIS and without writing any code.<br \/>\nThis approach is ideal for archiving, compliance, or integrating email content into downstream systems.<br \/>\nWith a few simple components and steps, your email extraction workflow can be up and running in minutes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this article, you will learn how to download Outlook (Office 365) emails as .EML or .MSG files using ZappySys SSIS PowerPack without writing any code. We\u2019ll leverage the power of Microsoft Graph API, which provides unified access to Microsoft 365 services like Outlook Mail, and integrate it seamlessly using the API Connector for [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":11384,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[616,205,8,200,1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>How to download Outlook (Office 365) Emails as .EML or .MSG Files | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"Learn how to download Outlook (Office 365) emails as .EML or .MSG files using ZappySys SSIS PowerPack. Step-by-step guide using Microsoft Graph API and SSIS without coding.\" \/>\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\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"How to download Outlook (Office 365) Emails as .EML or .MSG Files | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"Learn how to download Outlook (Office 365) emails as .EML or .MSG files using ZappySys SSIS PowerPack. Step-by-step guide using Microsoft Graph API and SSIS without coding.\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2025-06-19T13:19:00+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2026-03-19T23:07:21+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/Outlook-28x281-1.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"200\" \/>\r\n\t<meta property=\"og:image:height\" content=\"200\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\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\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/\",\"url\":\"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/\",\"name\":\"How to download Outlook (Office 365) Emails as .EML or .MSG Files | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/Outlook-28x281-1.png\",\"datePublished\":\"2025-06-19T13:19:00+00:00\",\"dateModified\":\"2026-03-19T23:07:21+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/6384e0de9aa6a3f14b215cd7b473bce6\"},\"description\":\"Learn how to download Outlook (Office 365) emails as .EML or .MSG files using ZappySys SSIS PowerPack. Step-by-step guide using Microsoft Graph API and SSIS without coding.\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/Outlook-28x281-1.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/Outlook-28x281-1.png\",\"width\":200,\"height\":200,\"caption\":\"Outlook Mail (Office 365)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to download Outlook (Office 365) Emails as .EML or .MSG Files\"}]},{\"@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\/6384e0de9aa6a3f14b215cd7b473bce6\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2c2df7e8804724e17532fac7f0dc794d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2c2df7e8804724e17532fac7f0dc794d?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"url\":\"https:\/\/zappysys.com\/blog\/author\/ppatel\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to download Outlook (Office 365) Emails as .EML or .MSG Files | ZappySys Blog","description":"Learn how to download Outlook (Office 365) emails as .EML or .MSG files using ZappySys SSIS PowerPack. Step-by-step guide using Microsoft Graph API and SSIS without coding.","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\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/","og_locale":"en_US","og_type":"article","og_title":"How to download Outlook (Office 365) Emails as .EML or .MSG Files | ZappySys Blog","og_description":"Learn how to download Outlook (Office 365) emails as .EML or .MSG files using ZappySys SSIS PowerPack. Step-by-step guide using Microsoft Graph API and SSIS without coding.","og_url":"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/","og_site_name":"ZappySys Blog","article_published_time":"2025-06-19T13:19:00+00:00","article_modified_time":"2026-03-19T23:07:21+00:00","og_image":[{"width":200,"height":200,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/Outlook-28x281-1.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ZappySys","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/","url":"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/","name":"How to download Outlook (Office 365) Emails as .EML or .MSG Files | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/Outlook-28x281-1.png","datePublished":"2025-06-19T13:19:00+00:00","dateModified":"2026-03-19T23:07:21+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/6384e0de9aa6a3f14b215cd7b473bce6"},"description":"Learn how to download Outlook (Office 365) emails as .EML or .MSG files using ZappySys SSIS PowerPack. Step-by-step guide using Microsoft Graph API and SSIS without coding.","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/Outlook-28x281-1.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2025\/06\/Outlook-28x281-1.png","width":200,"height":200,"caption":"Outlook Mail (Office 365)"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/how-to-download-outlook-office-365-emails-as-eml-or-msg-files\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to download Outlook (Office 365) Emails as .EML or .MSG Files"}]},{"@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\/6384e0de9aa6a3f14b215cd7b473bce6","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2c2df7e8804724e17532fac7f0dc794d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2c2df7e8804724e17532fac7f0dc794d?s=96&d=mm&r=g","caption":"ZappySys"},"url":"https:\/\/zappysys.com\/blog\/author\/ppatel\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/11380"}],"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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=11380"}],"version-history":[{"count":32,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/11380\/revisions"}],"predecessor-version":[{"id":11890,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/11380\/revisions\/11890"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/11384"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=11380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=11380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=11380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}