Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have too many labels and lots of rules that move email into these labels. Is there any ability to merge a label into another one and have all of the current rules follow so they will move email into this new label?

share|improve this question
add comment

5 Answers 5

up vote 10 down vote accepted

There is no easy way to do that, except to create a third filter and apply it to mails with the existing 2 labels.

share|improve this answer
    
Indeed. I tried a number of things to effect this, all to naught. The filters will need to be changed by hand. At least it's easy to mark all of the message with one label and apply the other. –  Al E. Apr 4 '11 at 13:08
add comment

It is totally possible to update all the filters. The basic idea is that you will export all your filters and then replace all references to the old label(s) with the new label and reimport them into Gmail.

Below are instructions on how to do this. For just a few labels you might as well go in and change each one.

  1. In Labs there is a lab to import and export filters. Find and turn on the lab: Filter import/export

  2. Go to filters and at the bottom click select All. Then click export.

  3. Find the file that gets downloaded onto your computer (mailFilters.xml) and open it in your favorite plain text editor (I used TextWrangler on my Mac and notepad should work on PC).

  4. Use Find and Replace to replace the name of the old label with the name of the new label. If your label has the same name as some other text in this document you might want to do a find and replace like the following.

    • Find: value='oldName'
    • Replace: value='newName'
  5. Save the file.

  6. Go back to Gmail and delete all the filters you have.

  7. Click import at the bottom of the filters list and select the file you just modified. All your new filters should now be there.

As one of the commenters said you can easily search for everything in one label and apply the other label to those messages. You will have to do that step too after or before you do what I just outlined.

I hope this helps.

share|improve this answer
add comment

Yes, there is a way to merge two labels. Note, CAPS below are telling you the actions to perform.

  1. On the left side, (look under the Compose button) SELECT (click) the label you want to remove or to move Gmail out of.

  2. FIND the little square box located in the space under the word "Google" on the gmail page. - When you find the box - "CLICK the little tiny arrow pointing down" located beside the box. - After clicking the down arrow a menu will appear.

  3. From the menu that appeared - SELECT (click) "all".

  4. Now a list of all gmail "that you want moved" appears in the display window. Above the first gmail message in the list - FIND a line that tells you how many messages are under this label. It shall say For Example: If there are 1102 messages in the folder1 the line shall look like this [Select all 1102 messages in "folder1"].

  5. CLICK on the "number" in total emails moving line. - From the line above you would CLICK on the number "1102 messages". -

  6. After doing this a message shall appear that says "All 1101 messages in "folder1" are selected." (this line is located right under the more button).

  7. Beside the "more button" FIND the "labels icon or text button" when clicked it will say "Label as". When you see "label as" appear there is a scrolling list of labels shown below it.

  8. CAREFULLY - In the list that appears below "Label as" UNCHECK the label to remove (click the box on the left side of the label until it is empty).

  9. MAKE a "Check mark" in the box by the label name that you want the messages moved to.

  10. CLICK "apply" at the bottom of the scrolling label list box.

  11. A message is displayed "this will affect all (1101 messages) are you sure?" CLICK - OK or Yes to move all the messages to the new label. After this you should see a screen with no messages displayed and a box is shown where messages would be that says "There are no messages with this label."

  12. The messages should now appear under the label you checked in (line 9) above. To see the messages just select (click) the label *that you checked in (line 9) above* from the list located on the left under the Compose button.

You're done.

share|improve this answer
    
That solves the OP's first issue of getting all of the messages into one place, but doesn't solve the second of automagically changing any existing filters to now point to the new label. –  Al E. Apr 20 '12 at 18:38
add comment

Its pretty easy. Just follow the steps :

  • Go to 'Manage Labels'
  • Click 'edit' on the respective label
  • check the box 'Nest under' and select the Parent Label
  • click 'Save Changes'

Its done ! Yiiippppeeee :)

share|improve this answer
    
I don't see how this can merge labels. If there's no parent, then it doesn't work. The parent label is always selected. What you are describing is the creation of nested folders. –  Jacob Jan Tuinstra Dec 21 '12 at 6:59
add comment

A Quicker fix, and thanks to Alex IT Guy's suggestions:

  1. select the label from which you want emails removed [old label]. Those emails will then show in your email list.
  2. select All
  3. click Labels (upper header bar, icon looks like a label), and UNCHECK their current label [old label], which will be checkmarked.
  4. Then find and CHECKMARK the label you want them moved into [new label]
  5. Hit apply (in the same dropdown). It should say: all labels have been moved from [old label] to [new label]
share|improve this answer
1  
Sure, that's easy to do (and actually offered in a previous answer) but that doesn't change any of the filters associated with the old label, which is the second half of the Asker's dilemma. –  Al E. May 25 '12 at 14:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.