Creating Rule/Script to emulate Mailbox App in Apple Mail

I'm using Mailbox for iPhone and I love the "snooze" feature: it allows you to snooze a message in the inbox sending it to a "Later" folder and bringing it back to the inbox later (tomorrow, this weekend, next week, etc., you choose).
I'd love to do the same in Apple Mail with flags. If I mark a message with a red flag, I want it to be moved to a "Later" folder, and I want it back to the Inbox 24 hours later. If I do it with green flag, 2 days later, purple 3, etc...
Any way to do this?

goldfilm wrote:
Thanks so much for your offer, but what I need is very different: an action when a flag is a condition, and flags are not part of conditions in Mail.
I believe that's because Mail Rules work on incoming mail and flags are set on the local machine. You can send an email with a priority (i.e. high), but not a flag
I want to manually flag a message in the Inbox and Mail automatically moving the message to a folder after I flag it. If that happens I'm happy
Applescript can do this, but not automatically, you could set up this rule, then manually Apply Rules (⌥⌘L)
Rule:
Applescript:
tell application "Mail"
          repeat with theMessage in (every message of inbox)
                    if flagged status of theMessage is true then
                              set mailbox of theMessage to (mailbox "Main")
                    end if
          end repeat
end tell
The Applescript MUST be placed in: ~/Library/Application Scripts/com.apple.mail/
....although ideally I want the message back to the Inbox after a period of time.
Not sure if that can be done.  Maybe with  launchd and osascript

Similar Messages

  • Mailbox transfer from Apple mail to Windows Outlook 2010

    There were thousands of emails in Apple mail email client. I sorted out and maild mailboxes for different types of emails. I separated work-related eails and other stuff related emails and made mailboxes for each. Now I want to move the work-related emails
    to my windows laptop in Outlook 2010 email client. 
    I did try to sync the emails via Imap but the synchronization fails every time I try to sync the emails. I have double checked everything many times before synching but it always fails. Now I am sick of doing it as there are 10k plus mails and the sync is always
    failing.
    Is there any other way to transfer the mailbox from apple mail to outlook 2010. It would be very helpful of anyone can guide me to transfer only the work mailbox folder as syncing via Imap starts downloading all the emails including the others. 
    I just need to transfer the work folder.
    Helpful solutions will be really appreciated.

    Hi,
    The easiest way to transfer data from Outlook for Mac to a Windows-based Outlook client is to upload to an exchange server. To do this, please refer:
    http://support.microsoft.com/kb/2649169/en-us
    However, if that option is not available use one of the methods listed in the link below:
    http://www.office.mvps.org/cross_platform/mac_win.html
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee
    the accuracy of this information.
    Best Regards,
    Steve Fan
    TechNet Community Support

  • Attachments problems with eudora mailbox imported to apple mail.

    greetings,
    i am considering moving from eudora to apple mail. i've done a test of importing one of the eudora mailboxes and am having a problem with the attachments.
    the attachments to the messages in the eudora mailbox appear to be recognized by the apple mailtool. however, apple will not display the attachments. my test is with a mailbox i keep messages from a friend who travels a lot and sends me jpegs of his trips. the import gave no error messages.
    after the import, i can see all the message are in the new mailbox. i can open them fine. however, when viewing messages in apple mail that had attachments, mail shows the message and also shows a list of the pics attached, but it doesn't display the jpgs.
    "This message has the following attachments:
    .../Library/Mail/Attachments/xxx.jpg, etc..."
    i can go to the attachment directory and find the jpegs there. they open fine in preview... but there seems to be no way to view or double click the filename to open it.
    i've searched the local help and this forum and haven't found this thread yet...
    does anyone have any experience with importing email with attachments?
    is there some setting i need to change in mail to display the attachments or open them?
    i appreciate any suggestions or pointers to the solution if somewhere on web...
    jeffery-

    ok, i think i found something that fixes this problem...
    Eudora Mailbox Cleaner
    i found it on: http://www.hawkwings.net/plugins.htm
    this software seems to bypass apple's "import" and does it's own method of getting the mail files into apple's mailtool... in addition to allowing apple's mail to display the attachments (jpgs, pdfs, etc) this also looks like it preserved the message status... the read messages are marked "read" instead of "unread" also...
    i wonder if there is a way to transfer them back, if i decide to go back to eudora after trying apple's mail... my next quest... i will be very flexible to try apple's mail if it is not a 1 way journey, since i'm looking for some solutions in apple's mail... thanks for reading-

  • Apple Mail Rules dont apply when mail is READ on other devices!

    Hi,
    I use IMAP settings on Apple Mail (v4.5) and also check my emails on the iPhone (iPhone also set up with IMAP). However if i have read an email on the iPhone then when i switch my computer on the incoming Apple Mail Rule that applies to that sender does not seem to work. It keeps the mail within my Inbox and does not transfer the mail/message to the desired folder.
    However, if the same sender sends me an email which i do not read on the iPhone and then switch my Apple Mail ON, then the mail is automatically transferred to the desired folder.
    It looks like the problem is only with READ mail and not UNREAD mail. 
    Is there a fix for this? There seems to be a lot of people having the same issue and was wondering if there is any work around on this?
    Would really appreciate any help from anyone on this.
    Regards,
    Jay
    PS: I recently moved from Outlook 2011 on MAC to Apple Mail as i heard is a far superior mail application and works smoothly. So far everything about Apple Mail has been correct, it is a fantastic app, however this Rule problem is pretty basic and surprised that Apple still has not fixed this.

    Hi Glenn,
    Many thanks for this. Unfortunately i dont have this facility on the server as we are using a simple opensource mail delivery and storage service, so the rules would have to be set up on the computer.
    I was using Outlook 2011 and prior that was using Entourage 2008 and both worked well with the IMAP rules. Nothing was ommitted and everything READ or UNREAD was imported and the rules applied. It's only in Apple Mail that these rules dont seem to work.
    Is there no other work around? No Apple Mail Add-Ins? I see quite a number of people complaining about the same problem and i'm surprise that Apple has not found a solution for this.
    Anyway, thank you soo much for your reply. Much appreciated.
    Regards,
    Jay

  • How can I upload existing Apple Mail mailboxes to IMAC .mac account?

    Hi... I use Tiger Apple mail on a POP account elsewhere and want to move to .mac IMAC so I can synchronize mail and maiboxes across computers. I have created my mail account on .mac and that is working fine. But I have a large number of mailboxes sitting in Apple mail on my computer. How can I upload those to the .mac account? I had anticipated tha synchronization would take care of it, but it hasn't.
    Any advice apperciated
    iMac G5   Mac OS X (10.4.3)  

    I have found the answer - in bottom of my mailbox list was a new entry representing the IMAP folders. I need to drag my old folders onto this and it synchronised - except that some ex-Eudora messages which had been edited in Eudora (oh hat we could do that in Mail) had not converted properly.

  • Apple Mail - Amber color sometimes in Mailbox Pane in Yosemite

    Hi
    I am running OX X Yosemite 10.10 and using Apple Mail. Sometimes in the Mailbox pane on the left I see the top of the column glow amber and fade down the upper part of the column. It almost appears as if the color is moving. Has anyone else seen this and if so do you know what it signifies? My guess it means it is checking mail, but it does not to it consistently to affirm my guess.
    Any help is appreciated!
    Brandon

    solved it without delete/add back (which would have been a pain)
    turns out the having INBOX in the mail app path prefix setting (mail/ preferences/accounts/advance) was causing the entire account to not show up in the mailbox pane.
    I have other email acts where it works only with INBOX in this setting. Still haven't figure out what makes this necessary sometimes, and not other times. Once the account showed up in the bottom of the mail pane, I was able to expand it and highlight the individual mailboxes that appeared (sent, drafts, etc), and then select the "Use this mailbox as" command which is at the bottom of the Mailbox menu.
    Seems to me that different IMAP servers present themselves to mail clients with a fair amount of variation, so setting up Apple's mail app for one IMAP acct may be quite different from another.
    I wish I could find a really good tutorial which thoroughly explains mailboxes in the apple mail client and mailboxes in an IMAP server and how they all interact, but anyway, its working ok now.

  • Apple Mail mailbox list icon display size

    I can not find how to change the size of the mailbox icons in Apple mail!  They are big now, and I want the icons to be smaller so I can see more.  I am talking about the left column in Apple Mail where the mailboxes are displayed.  I have the latest verison of Lion.  I am sure it is simple, but I can not find it!
    Kevin

    The setting is not in an obvious place, but is where logic places it. Consider that that part of the Mail window is a Sidebar....
    Go to System Preferences > General and in the middle part of that screen is a pulldown menu to set the icon size in the Sidebar. Reset that. You can leave the Mail window open while you make that change; the change is 'live' so you'll see the effect immediately.

  • Creating rules in script for

    I am trying to create an estimate form with backend rules script using criteria based on user selecting product from drop down menu.
    Here is sample what I am trying to do and hopefully it makes sense.
    Field1 x Field2= sum1  (which i  figured out)  Sum1 is new field
    drop down menu with 3 products:  if the user selects product1= unit price of $5.00    product2=unit price $7.00   product3=unit price $8.00(setup if then rules)
    Next:
    if the product 1 is X sum amount =>500 price is $10 or =<500 price is $15   This (sumtotal price unit ) x (sum1)  x (qty# )= total
    There are 4 qty entry boxes.
    There are 4 different drop down menu boxes.
    Can this be done in Livecycle design?
    Thxs

    If you are planning to add javascript in LifeCycle Designer here is the hint.
    You can have following event on dropdownlist to get the value.
    eventName:exit
    app.alert(this.rawValue); //which retunr the selected value in DDL.
    xfa.resolveNode("Field1").rawValue =this.rawValue or "$10";
    Hope this will help you.

  • Error while creating rules for Event generator

    Hi,
    I followed the PO samples in dev2dev site to create an EventGenerator(both file and JMS) from a jython script. While creating rules for the eventgenerator, am getting the following exception.
    "AttributeError: 'None' object has no attribute 'newFileEventGenConfigurationMBean'"
    here is the PO sample code,
    egCfgMBean = getMBean("FileEventGenerators/FileEventGenerators")
    egMBean = egCfgMBean.newFileEventGenConfigurationMBean(egName)
    I used getMBean() instead of wlst.getTarget() to retrieve the MBean info.
    The server is weblogic 9.2 and domain is Integration domain. Looks like the getMBean() wasnt able to locate the Eventgenerator MBean for some reason and hence the variable 'egCfgMBean ' is always null. Anyone had this issue before.
    Thanks.

    It looks like getMBean("FileEventGenerators/FileEventGenerators") is not
    returning an MBean. "None" is returned if no MBean is found. Check the path
    parameter to getMBean() and make sure it is correct. If you know the object
    name of the MBean you are interested in, you may be able to use the
    getPath() command to get its path.
    wls:/mydomain/serverConfig>path=getPath('com.bea:Name=myserver,Type=Server')
    wls:/mydomain/serverConfig> print path
    <Ramesh R> wrote in message news:[email protected]..
    Hi,
    I followed the PO samples in dev2dev site to create an EventGenerator(both
    file and JMS) from a jython script. While creating rules for the
    eventgenerator, am getting the following exception.
    "AttributeError: 'None' object has no attribute
    'newFileEventGenConfigurationMBean'"
    here is the PO sample code,
    egCfgMBean = getMBean("FileEventGenerators/FileEventGenerators")
    egMBean = egCfgMBean.newFileEventGenConfigurationMBean(egName)
    I used getMBean() instead of wlst.getTarget() to retrieve the MBean info.
    The server is weblogic 9.2 and domain is Integration domain. Looks like the
    getMBean() wasnt able to locate the Eventgenerator MBean for some reason and
    hence the variable 'egCfgMBean ' is always null. Anyone had this issue
    before.
    Thanks.

  • How to create Rules with Flex Field mapping in the bpm worklist

    I Have created a flex field label and was able to map to the flex field attributes .
    But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
    Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
    Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
    Any pointers or suggestion is highly appreciated .

    Hi,
    SE38 -> Enter program
    Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
    Now the selection screen will display with a button "Variant Attributes" at the top.
    Click on that button.
    In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
    In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
    Now whenever you run the prgrm with this variant, date will be displayed by default.
    Regards,
    Subramanian

  • How do I create a script to do this?

    I have a photoshop file with several layers...about 100. I want to put each layers into it's own group. The name of the group must be the same as the name of the layer.
    I tried creating a action to do this but it did not work right. It only works for one layer selected individually. If I select multiple layers, then it forms nested groups.
    I was told that I can't do this using an action and I would need a script for this.
    How do I create this script?
    I am using adobe photoshop cs6 ( I think) , windows 7.

    This assumes that none of the layer are already in layerSets( group ) and none have layer locking.
    if(app.documents.length>0){
        var doc = app.activeDocument;
        while(!doc.artLayers[0].isBackgroundLayer && doc.artLayers.length>0  ){
            var newSet = doc.layerSets.add();
            newSet.name = doc.artLayers[0].name;
            doc.artLayers[0].move(newSet,ElementPlacement.INSIDE);

  • How do I create a new folder in mailboxes

    How do I create a new folder in mailboxes?

    paulfromkey west wrote:
    Try Atominic on app
    I am unable to fine any such app in the App Store. Perhaps you've misspelled?

  • Need steps to create ant scripts for publishing and deploying projects.

    Need steps to create ant scripts for publishing and deploying projects.
    Have got ant, Oracle BPM Enterprise WL edition installed , Need to know what are the other configurations to be done.
    Any working example would help me to understand, please do mail me at [email protected]
    Thanks in advance.
    -Sree

    Sreekant,
    Please find the build file to publish and deploy.
    <project name="deployProject"
    xmlns:fuego="antlib:fuego.tools.ant.enterprise"
    xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee" default = "publish">
              <property file="./Properties/fuego_deploy.properties"/>
              <fuego:passport id="fuego.passport"
    directoryid="${fuego.directoryid}"
    preset="engine" />
    <target name="publish" description="Publish and deploy processes" depends = "takeInputs">
    <!-- Open a session to the Oracle BPM directory -->
    <fuego:session
    passportref="fuego.passport"
    verbose="true"
                   properties="${fuego.basedir}/conf/directory.xml"
    haltonerror="true" >
    <!-- Publish processes -->
    <fuego:publish fpr="${fuego.project.name}"
    deploy="true"
    engine="${fuego.engineName}"
                        importdata = "${fuego.importdata}"
                        automaproles="${fuego.automaproles}"
                        automapbuspars = "${fuego.automapbuspars}"
                        automapvars="${fuego.automapvars}"
                        automapconfigs = "${fuego.automapconfigs}">
    </fuego:publish>
    </fuego:session>
    </target>
    <target name= "takeInputs" >
    <input
    message="Please enter admin-username:"
    addproperty="fuego.participant"
    />
    <input
    message="Please enter admin-password:"
    addproperty="fuego.password"
    >
    </input>
    </target>
    </project>
    and find the properties I have used..
    fuego.basedir=C:\OraBPMEnterpriseHome
    fuego.directoryid=default
    fuego.engineName = bpmengine
    fuego.project.name = E:/antExamples/Project/CommonUtilities
    # If the below property is true then ant script imports data from the project, as defined in Studio.
    # This includes importing:
    #      •Holiday and Calendar rules
    #      •Organizational Units
    #      •Roles
    #      •Resource configurations
    #      •External Variables
    fuego.importdata = true
    #If the below property is true ant script automatically map abstract roles to real ones with the same name.
    fuego.automaproles=true
    #If the below property is true ant script automatically map business parameter variable names (as defined in the project design) to an business parameter variable id with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapbuspars = true
    #If the below property is true ant script automatically map external variable names (as defined in the project design) to an external variable id with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapvars=true
    #If the below property is true ant script automatically map External Resources configurations (as defined in the project design) to real Configurations with the same name (as defined in the Fuego Enterprise directory).
    fuego.automapconfigs = true

  • A simple problem? - cannot grant create rule set

    Hi,
    Can anyone spot the stupid mistake i'm obviously making when trying to grant create rule set to my streams admin user? The script was working last week?!
    BEGIN
    DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
    privilege => DBMS_RULE_ADM.CREATE_RULE_SET_OBJ,
    grantee => 'strmadmin',
    grant_option => FALSE);
    END;
    ERROR at line 1:
    ORA-00931: missing identifier
    ORA-24000: invalid value , USER/ROLE should be of the form [SCHEMA.]NAME
    ORA-06512: at "SYS.DBMS_RULE_ADM", line 167
    ORA-06512: at line 2
    Many thanks,
    Warren

    Yes, catpatch.sql is necessary only for existing 9.2.0.1 databases upgraded to 9.2.0.2.
    I am assuming that when you created the database under 9.2.0.2 that catalog.sql and
    catproc.sql were run. The next step, I guess, is to turn on sql tracing to see
    which sql statement actually fails when you run the command. Turn on sql tracing
    with the following command, and then execute the procedure again.
    alter session set sql_trace=true;

  • Creating rules for Mail - yet visible on iPhone

    I fully understand how to create rules for email so that when receiving them, they automatically go into folders.  The problem is, if I receive an email that automatically gets sorted into a folder, I can not tell on my iPhone I have actually received a new email.
    However, I need to know how to have rules to automatically sort/file emails into a folder, but still know I have received a new email on my iPhone mail. 
    Anyone got ideas?
    Thanks

    I can understand not wanting to put out money to gain a feature that you think should be standard.
    Here is a link to some Applescripts that I had downloaded in the past. I actually forgot about these. There is a script which will allow you to apply some rules to outgoing messages, but the author of the scripts notes that it is not a perfect solution. Maybe it can help.
    If all else fails, maybe you can use smart folders as a sort of go between. Instead of scanning through the sent mail folder and hand picking individual messages to drag to folders, why not set up a smart folder to aggregate all like mail. Then you could just drag the messages from a smart folder to a regular one. It might help speed things up.
    I am just about out of ideas. I hope you can come up with a good solution.

Maybe you are looking for

  • Regarding contact person creation from SAP SUS to SRM

    Hi, We are using Extended classic scenario and we are having SRM and SUS are in different clients. When buyer, ticks the SRM vendor as Portal vendor. XML is getting triggered to SRM SUS and vendor is getting created there. Also mails will be triggere

  • Can I move photos within Organizer (PSE8) ?

    Some of the photos from the same date are out of order. They were loaded from my sim card but have moved their order for some reason. I also scan in photos and change the date to the event date but want to rearrage the order. MUST they be scanned cor

  • Creating an image rollover when text is rollover

    Hi all, I'm trying to create the following: I want certain words in the text to trigger an image when rolled over. Will Captivate 3 allow this? I've done every type of rollover box etc.to get the image to appear when the text is rolloever over. Any s

  • Call Intercept Suggestion - Screen "International" as Well

    I've recently started using Call Intercept, and I really like the service.  I'm not sure where to submit suggestions, so I'll put this here.  I think Call Intercept should also screen calls that say "International" on the caller ID, or allow the entr

  • IPod will not charge...?

    So, I just bought a reconditioned 20G 2nd Gen iPod. I installed the software and plugged in the iPod to the power adapter.... and all I get on the iPod is the sad iPod icon. It makes sounds while it's hooked up to the power cord, but the little sad i