When you encounter this issue, you’ll receive the following full error message; This error occurs mainly when the Mail app has no access to your email account. We’re sorry, but we weren’t able to do that. Error Code 0x8007139f

Fix Mail app error code 0x8007139f

If you’re faced with this Mail app error code 0x8007139f on your Windows PC, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue. Let’s take a look at the description of the process involved concerning each of the listed solutions. Before you try the solutions below, check for Windows updates and also check Microsoft Store for updates and install any available bits on your Windows 10/11 device and see if the error reappears when you try adding the email account to Mail and Calendar app.

1] Check Mail and Calendar app privacy settings

  This solution requires you to check your Mail app permissions. Here’s how:

Press the Windows key + I to open Settings.Click Privacy.Navigate to the left-side panel and select the Email option.On the right pane, under the Allow apps to access your email section, toggle on the button.Still on the right pane, under the Choose which apps can access your email section, toggle on the Mail and Calendar button.You may also need to toggle People button to ON.Exit Settings app.

Now try adding the email account and see if the Mail app error code 0x8007139f reappears. If so, try the next solution.

2] Reset Mail app

This solution requires you to reset the Mail app and see if that helps.

3] Uninstall and reinstall Mail app

This solution requires you to uninstall the Mail app and then reinstall the app, set up the app and finally add the email account. Do the following:

Press Windows key + X to open Power User MenuTap A on the keyboard to launch PowerShell in admin/elevated mode.In the PowerShell console, copy and paste the command below and hit Enter to uninstall the Mail app.

After the command executes successfully, you can reinstall the Mail and Calendar app from the Microsoft Store.Finally, set up and add your email accounts.

If however, the issue persists, try the next solution.

4] Log into Windows using Local Account

This is more of a workaround than a solution – it entails that you log into your Windows PC using a local account instead of the Microsoft account. Any of these suggestions should work for you!