Recover Notes Label in Gmail from iOS / Apple Notes (lost notes label)

This article is for the following scenario:

  • You use iOS and a Gmail (Google Apps) account, and sync your notes between Gmail and iOS / Apple Mac OS X.
  • You accidentally deleted the label “Notes” in Gmail, because you didn’t think it was important
  • Now, your Notes are missing, or you don’t know how to get them in Gmail anymore.

Basically, Apple creates a system label called “Notes” within Gmail. It tags all Notes you create with this label. Interestingly, it tags all versions of each note with this label. So, any note you update may have dozens or hundreds of versions contained within it. Gmail essentially saves all of these notes as unsent emails, if you will.

The problem comes if you delete this label called “Notes”. I did this because I didn’t remember creating it (oops!).

I noticed that each Note has a unique entry in the header of the email, which looks like this:

X-Uniform-Type-Identifier: com.apple.mail-note

So, in order to locate all the emails in Gmail that are notes, we have to find all emails that have that identifier. Unfortunately, Gmail does not allow searching the headers in this way for this particular field.

The way I was able to locate all the correct headers was to load my Gmail via IMAP in another email program that allows searching headers. I happened to use Microsoft Outlook 2016, but perhaps other apps will allow you to do the same thing. You just need an email app that supports IMAP, and supports searching headers.

Here are the instructions on how to do this in Outlook:

  1. First, Go ahead and create a new “Notes” label in Gmail (either through Outlook or through the Gmail interface). Or, allow iOS to re-create the label. We’re going to move the notes back to the right place in a later step.
    1. IMPORTANT: If you want iOS to recognize it, then you should make sure iOS creates the label automatically, you should NOT create the label manually.
  2. Make sure your Gmail account is added to Outlook, and that the “All Mail” folder is available as an IMAP folder. (If you don’t know how to do this, Google it).
  3. Go into the “All Mail” folder and make sure it is fully populated in Outlook.
  4. What you want to do next is create a Rule which will search the headers. Click “Rules” in the ribbon, and then “Create Rule…”
    imap-gmail-1
  5. Choose “Advanced”
  6. Choose the option, “with specific words in the message header”
    imap-gmail-2
  7. Now, populate the search with this text: com.apple.mail-note
    imap-gmail-3
  8. On the next step, we want to move the matching items to the “Notes” label that you created in step 1. To do this, check the option “move it to a folder”, and then choose the folder called “Notes”:
    imap-gmail-4
  9. Click “Next” through the options. On the last page, choose the option, “Run this rule now on messages already in “All Mail” and UNCHECK the option, “Turn on this rule”.
    imap-gmail-5
  10. Click “Finish” and it should run. It may take a while if you have a lot of emails.

When you’re done, you should now have that Notes folder populated in Gmail.

As always, if you have any issues, please post in the comments!

 

FIX: Windows 10 – iPhone / iPad won’t appear in iTunes and doesn’t show up under Device Manager

I had the following symptoms:

  • New install of Windows 10
  • Clean install of iTunes
  • Neither my iPhone or my iPad would connect to iTunes, it wouldn’t even try
  • Mobile Device Support was working as it should. (The service existed and was started).
  • Followed the instructions in this article, which didn’t help: https://support.apple.com/en-us/HT204095
  • Uninstalled & Reinstalled iTunes
  • Rebooted multiple times

No matter what I tried, I noticed that my devices refused to be recognized at all in Device Manager. They just weren’t there  at all. They weren’t listed under Universal Serial Bus Controllers, or under Other Devices. It just didn’t exist.

So try this solution if your iPhone or iPad won’t show up in iTunes, and when you look in Device Manager, you do not see anything listed when you plug it in. 

The solution for me ended up being pretty simple. I manually installed the driver from the folder on my computer, and it worked.

  1. First, make sure your iDevice is plugged in and iTunes is open
  2. Navigate to: C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers
  3. Then right-click on this file: usbaapl64.inf and click “Install”

Here is a screenshot of the step:
usbaapl64-install

It should now install the driver, and your iDevice should show up in iTunes! I had to do this separately for both my iPhone and iPad, but now they show up from now on.

Network File Transfers – Fix for Windows Security prompt “These files might be harmful to your computer”

This is a quick and easy fix for an error that appears every time you try and copy/move files within a Network Share (or from your desktop to a network).

This applies to you if you’re in a Network Environment (I.e.: You have a server you try and copy files from/to). You also must have permissions to modify your Internet Explorer settings. If you don’t have such permissions, you need to contact your Network Admin.

This is a screenshot of the error:

TO FIX THIS: You must add your Server’s name or IP address in IE settings. To do this:

1. Go to Control Panel
2. Click on or search for and find “Internet Options”
3.  Click the Security Tab
4.  Click Local intranet

5. Click the “Sites” button right below and to the right.
6. Click “Advanced”  in the menu that appears
7. You will get a new menu that says, “Add this website to the zone:”
What you want to do is type in the server name and\or IP address of whatever server you want to add. If you aren’t sure, look at the network share under “Computer” (from the desktop). If you have a network share drive, it should list the IP address or server name after a double backslash, for example:
\\192.168.1.1
\\server-name\share

Type that name in the box, click “Add”

8. When you are done, just click “Close” and/or “OK” out of everything. If it doesn’t work right away, I suggest rebooting.

NOTE: Make sure you only add the names/IP Addresses of servers you trust!  I bear no responsibility if you “trust” a site or server that is questionable.

SBS 2003 http://server/connectcomputer page cannot be found

This is probably a rather obscure problem, but I wantd to post it in case anyone else runs into this issue.

I am adding a Windows Server 2003 Enterprise system to my SBS 2003 domain. This server was previously on another network, hence a different domain.

I went through the process of adding the server. On SBS, did “Add Server Computer”, and then I went to the new server, http://<myserver>/ConnectComputer. Unfortunately, it said “Page Cannot Be Found.” 

I went to a command prompt and pinged <myserver>. Lo and behold, it was pinging itself…it appended <myserver>.<olddomain>.local.

So, what I did was, go to IE and type in http://<myserver&gt;.<mydomain>.local/ConnectComputer and everything worked great.

Hope this helps somebody out there. Like I said, somewhat obscure, but it could happen to someone else.