If you have encountered the Mail app error code 0x8007139f when adding your email account to the Mail app on your Windows 11 or Windows 10 device, then this post is intended to help you with the most suitable solutions you can try to successfully resolve this issue.
When you encounter this issue, you’ll receive the following full error message;
Something went wrong
We’re sorry, but we weren’t able to do that.
Error Code 0x8007139f
This error occurs mainly when the Mail app has no access to your email account.
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.
- Check Mail and Calendar app privacy settings
- Reset Mail app
- Uninstall and reinstall Mail app
- Log into Windows using Local Account
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 Menu
- Tap 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.
Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*windowscommunicationsapps*”} | remove-appxprovisionedpackage –online
- 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!