if we can't get the filename or msgID, don't try to connect to gmail.