Rule to open mailbox containing unread mail?

I had been using Eudora, but have recently switched to Mail. When I used Eudora, it would open a destination mailbox when new mail was filtered to it. Is there a way that I can do this with Mail, either using rules or apple script?  Othewise it's very tedious to have to manually open every mailbox marked with unread mail, and I will end up missing critical messages.  There's got to be a better way.
I found Andreas Amaan's Mail Scripts (http://www.andreasamann.com/MacOSX/Mail_Scripts) - but the Open Mailbox script which was written to do exactly what I need - doesn't seem to work with Mountain Lion.
Can anyone provide an updated script?

I think there is already a default "Unread" Smart Mailbox.
If there isn't, here's what it would look like:

Similar Messages

  • How to change colour of mailbox containing new mail

    I have Thunderbird sort my incoming mail into various mailboxes based on various criteria.
    Until recently, when new mail arrived in any box, the title of that box (in the list, left hand pane) turned red - thus making it easy for me to identify which boxes needed my attention. For some reason this has stopped. The incremental number showing the number of unread messages still changes, but the title colour remains black.
    Anyone know how to change the behaviour to highlight mailboxes containing new mail please?
    Thanks..

    My point is that until recently the behaviour was automatic - it changed the colour of box names as amatter of course. This has now changed, wth all box names being in black whether or not there is new mail in the box.
    I receive a lot of mail and being able to quickly distinguish which box had received new mail would make life easier..
    I suspect there is a setting within Thunderbird to enable this but I'm damned if I can find it..

  • How to reveal/open mailbox containing selected message in search results?

    A user is trying to find a message. She searches for the sender's email address and she sees the message in the search results and it is listed as being in a mailbox named "Prism". She browses through her list of mailboxes (local and on the server) and see no such mailbox. She opens Get Info and sees that mailbox is listed as containing 53 messages, yet selecting it and clicking on the Show Messages buttons generates an empty window and the error "No Mailbox Selected".
    I had her rebuild her In mailbox on the chance that the missing folder was a child of the In box (I've seen her do that before). I have on more than one occasion watched someone delete mailboxes that are the child of the In box and when they deleted the second-to-last one the last mailbox also disappears. In those cases the disappearing mailbox has always been empty so it wasn't a big issue. I'm wondering if this is how the "Prism" mailbox disappeared.
    I seem to recall that there is a keyboard shortcut that would open the parent mailbox of a selected email in a search results listing but I can't seem to find that shortcut. Anyone know if there is such a thing? And anyone have any other ideas how to find the missing mailbox?

    Michael,
    if the search was done from within Mail, looking into "all folders" and you see the message, open that message in the Find results window and top right you will see a link to open the email in its original mailbox.
    Now if you do that, the left column should show where the mailbox is.

  • What rules to use to stop unwanted mail

    I keep receiving unwanted mails from Japan and tried to use rules to have these directly put in the waste but it does not work. I for example used the following rules:
    if one of     contains     the mail address in question
    transfer the message               to waste basket
    I also tried
    if            from              the mail address in question
    transfer the message          to waste basket
    but the messages keep coming.
    Has anybody  an idea how to go about it ?

    Do not put the whole address string in the rule as it probably changes slightly for each e-mail.  I always put in the From field only one or two words in the address that are common to the messages I want to send to junk or delete, i. e. comcast.
    Have a nice day.

  • How do I Exporting rules, signatures and mailboxes

    I am trying to import my rules, signatures and mailboxes from Apple Mail program into Gmail. How do we do this?

    xfa.host.appType will return HTML 5 if rendered as HTML, you can test that value and enable the appropriate signature type

  • How to access unread mails of all users in Exchange server without having Passwords and without giving mailbox access to other user.

    Hi all,
       I am using Exchange server 2013, my task is to create
    Service , that
    need's to  monitor continuously for new mails of all Mailboxes in
    my server. if any user got new mail i need to get that Mail Subject, Mail Body, Sender Email Address [From emailId] .  
    Limitation
    : I don't have Passwords of mailboxes , so i gave all mailbox access permission  to one user , then i completed this   service using below code.
     But now, Client
    not willing to give Mailbox Permissions to one user because of security problems.
    How can i do this without passwords and without giving permissions to other user ?
    i don't want all mailbox access , i just need only
    access Mail Subject , Body and Sender mail address .
    How can i achieve
    this ?
    Process i follow
    => I created new user in server , and then i gave full permissions of all Mailboxes to newly created user[ex: james] in database level.
         i use below command for giving permissions in database level.
    Get-MailboxDatabase -Identity <Database Name> | Add-ADPermission -User <User> -AccessRights GenericAll
     => using below code i am searching unread mails of all user Mailboxes and then getting Subject, body and Sender Email            address . here i am have list of users,
    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013);
    service.Credentials = new WebCredentials("[email protected]", "password");
    service.AutodiscoverUrl("[email protected]");  foreach (Object obj in usersList) // here i have Mailbox users list in usersList
                 { var userMailbox = new Mailbox(obj.user);
    var folderId = new FolderId(WellKnownFolderName.Inbox, userMailbox);
    SearchFilter.IsEqualTo filter1 = new SearchFilter.IsEqualTo(EmailMessageSchema.IsRead, false);
    var itemView = new ItemView(50);
    var userItems = service.FindItems(folderId, filter1, itemView);
    foreach (var item in userItems)
    item.Load();
    var senderEmail = ((EmailMessage)item).From;
    var subject = item.Subject;
    var body = item.Body;

    You would need to check that possibilities via WebServices but suggest you to post this in Development forum to get help from programmers....
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=exchangesvrdevelopment
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Mail.app stuck spinning on "opening mailbox"

    I just used Migration Assistant to move my content from my old iMac (running 10.5.8) to my new iMac (running 10.6.4). When opening Mail.app everything works fine — except in the Activity Window I see Mail.app trying to open two mailboxes. Also next to "Sent" is a spinning dial for a bit and then a pie wedge.
    Connection Doctor shows my two e-mail accounts are connecting just fine (inbound and outbound). I can receive mail, but it will not send. Clicking the stop sign next to the two "Opening Mailbox" messages in the Activity Window does nothing.
    I've rebuilt the mailboxes, rebuilt the index using the trick of removing the ~/Library/Mail/Envelope Index file and restarting Mail.app to reimport everything.
    I even reinstalled the OS on the new machine and reimported my content via Migration Assistant after first rebuilding the mailboxes on the old iMac but same problem exists.
    It seems like Mail.app is trying to send a message and getting stuck.... or something like that. Note I have NO outbox appearing... only Sent, never an outbox even when I try to send Mail.
    Any help is appreciated.
    -Werner

    I took the computers to a local Mac guy and he discovered the issue was Carbonite trying to restore the old computer hard drive on the new one as soon as the machine was turned on and connected to the internet.
    Once Carbonite was disabled and ~/Library/Mail/* files were put back in place, all worked well.

  • Is there an "Unread Mail" solution for the iPhone that would allow me to see all new Unread mail?  I have ove 100 subfolders with rules that redirect mail.

    Is there an "Unread Mail" solution for the iPhone that would allow me to see all new Unread mail in one location?
    I have an iPhone 4 (not 4S). I use the Outlook client with an Exchange Server on my Desk. 
    In order to keep email organized, I have many subfolders (over 100) under my Inbox with rules that automatically redirect the bulk of new unread email to the subfolders.
    In the Outlook client on the desktop, there is an "Unread Mail" Folder that lets me see ll unread mail in one location whether it be in the main inbox or in one of the subfolders of the inbox. 
    I would like to see all unread email in one location without me having to change my rules and work flow that I have been using for 7+ years?
    It is much more work for me (so far) to see new email on the iPhone.  You have to scan each subfolder in order to tell where the new mail is that just arrived.

    Is there an "Unread Mail" solution for the iPhone that would allow me to see all new Unread mail in one location?
    I have an iPhone 4 (not 4S). I use the Outlook client with an Exchange Server on my Desk. 
    In order to keep email organized, I have many subfolders (over 100) under my Inbox with rules that automatically redirect the bulk of new unread email to the subfolders.
    In the Outlook client on the desktop, there is an "Unread Mail" Folder that lets me see ll unread mail in one location whether it be in the main inbox or in one of the subfolders of the inbox. 
    I would like to see all unread email in one location without me having to change my rules and work flow that I have been using for 7+ years?
    It is much more work for me (so far) to see new email on the iPhone.  You have to scan each subfolder in order to tell where the new mail is that just arrived.

  • I have entered my gmail id as my apple id, and created another icloud id. Now my mailbox shows No mail. Is this mailbox shows icloud mailbox or my gmail mailbox? How do i open my gmail mailbox in my iphone? or simply will have to download a gmail app?

    I have entered my gmail id as my apple id, and created another icloud id. Now my mailbox shows No mail. Is this mailbox shows icloud mailbox or my gmail mailbox? How do i open my gmail mailbox in my iphone? or simply will have to download a gmail app?

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")

  • Rule to match unread mail?

    Am I missing something, or is there no rule to match unread mail?  I'd like to change the color of all unread mail since I find the blue dot not enough, and now all messages have bold in them in the index.
    Thanks.

    Well, there's no way to have coloring on messages change dynamically based on things like read/unread status.  It's possible there could be a plugin for this, but it's unlikely as people seem to be more dissatisfied with this since Lion appeared.  That's probably not enough time for someone to develop a new plugin.
    Note that you can always go back to the old display...  in Mail, choose Mail -> Preferences, click the Viewing icon and check the "Use classic layout" box.  That will make Mail look like it did in SL.

  • How can I convert Mail rules into smart mailboxes

    I recently posted a report about faults in mail rules that move messages to mailboxes automatically. In light of this, I thought about converting my rules into smart mailboxes. I started, but looked at the number of rules that I have and thought 'there must be an easier way!'
    What I'm after is a script, or hints as to how to write a script, that will iterate over all my mailbox rules and add new smart mailboxes. I expect that the Mail program might provide some programatic interface for this, but don't know where to start looking.
    Hoping that someone can help me.
    Regards, Andy

    Well, if coding help is what you want then this isn't the place to ask. The Applescript and Unix forums are here. These are better places to ask about programming.
    If you do a Google search on "applescript" you should find the two or three major sites for finding prepared Applescripts or Automator actions, although I don't recall ever seeing one for your intended use. But it can't hurt to look. You'll also find the link to the Applescript language documentation site, but you will also need to examine Mail's provided Applescript programming facilities.
    Bash programming manuals abound although nothing necessarily specific to the Mac. OS X implements a reasonably standard Unix implementation of the various supported shell environments. Google searching for "bash tutorial" or programming guides will yield lots of resources.

  • MAIL - IMAP subfolders and notification of new unread mail

    I'm trying to get MAIL to notify when new mail is put into a shared IMAP account subfolder.
    The mail server is CommuniGatePro with server side rules, sorting incoming mail to one account into subfolders in that account, based on sender mail address.
    The sorting works but I have to discard the mail in the Inbox because otherwise I have a copy of every mail left there.
    The problems is I can't see any unread mail have arrived until I click the sub-folder.

    I don't have as complex a Mail setup, but do have incoming Mail sorted via rules and then distributed into subfolders. Mail doesn't seem able to put it's little red star icon in the dock to recognise these new mails, which is annoying.
    In order to quickly read new mail regardless of where the rules had distributed it, I simply reated a Smart mailbox to contain any unread mail, that way I can quickly read it in one place regardless of where it has been stored...
    ®

  • Creating rules for other mailboxes

    Hi there,
    I couldn't seem to find this question anywhere so I'll just post it. Is there a way to create a rule for IMAP mailboxes? Here is my situation: I have two gmail IMAP accounts in Mail in addition to my .Mac IMAP account. Now sometimes I can't always get to my computer to check for mail so I've been using the webmail on apple.com. However, to make things more convenient for me I've made gmail forward all my messages to [email protected] I want my gmail accounts on my Mail app because then I can send messages with my gmail account instead of my .mac account. I just want to be able to use the .mac account as a kind of grouping station. I also want to use the push mail function when MobileMe becomes available.
    My question is, I know that on Mail I'm going to get duplicate messages in my Gmail IMAP accounts, because they are also being forwarded to [email protected], but is there any way to create a rule so that I won't see the "unread message count" on my gmail mailboxes? Or is there a way to make Mail not check for new messages in my gmail accounts? Or something to that effect?
    Thank you all so much,
    R.

    Does anyone have an answer?
    thank you

  • Can't get rid of unread mail icon--shows 2 unread messages but can't find any

    I've got a smart mailbox that shows unread messages so I can easily see what new and unread mail I have.  The problem is it gives me the notification icon that indicates I have two unread messages, yet the mailbox does not show any messages as unread...  This isn't a huge problem, but the Mail icon in my dock always shows that I have new mail, and the notification icon is small enough that I can't always clearly see if it's the "usual 2" or a higher number.  What could be causing this and how do I either find the unread messages or get this icon reduced to where it only shows me REAL unread messages?
    Rocketman

    Quit Mail. Force quit if necessary.
    Back up all data. That means you know you can restore the Mail database, no matter what happens.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Mail/V2/MailData
    Copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
    Go ▹ Go to Folder
    from the menu bar. Paste into the box that opens (command-V), then press return.
    A folder window will open. Inside it there should be files with names as follows:
    Envelope Index
    ExternalUpdates.storedata
    Move those files to the Desktop, leaving the window open. Other files in the folder may have longer names that begin as above. Move those files, if any, to the Trash.
    Log out and log back in. Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is damaged and that Mail has to quit. Click OK. Typically, the process takes a few minutes, but it may take hours if you have gigantic mailboxes. In that case, you may be able to speed things up by temporarily adding your home folder to the Privacy list in the Spotlight preference pane. Remove it when Mail has finished importing.
    Test. If Mail now works as expected, you can delete the files you moved to the Desktop. Otherwise, post your results.

  • Unread mail on dock icon?

    Hi,
    Been using Mail for a couple of months now but I don't see the number of unread mails thing on the mail icon in the dock. Why is this? Does it only show unread mails in the inbox? I use rules to filter mail into smartboxes.
    Also, this applies to any app really, but what is the difference between 'Hide' (Apple-H) and 'Close Window' (Apple-W)??
    I've often wondered.
    Thanks,
    iLee

    Yes, it only shows messages in the inbox. There's an app called DockStar that will allow you to modify this behaviour:
    http://www.ecamm.com/mac/dockstar/
    Hide hides the whole application - so if there are multiple windows they will all disappear (but are still open so that when you select the app again they'll all be in the same position).
    Close closes the window - so you would need to open a new window to get back to it.

Maybe you are looking for