Apple Script to delete old emails automatically

I couldn't figure out a way to automatically delete emails in one specific folder, based upon how old they were. I only wanted to keep them up to 15 days old. I have my security cam's motion alerts clips sent directly to a specific email folder. It is saved on mac server for safety. I searched all over and finally found http://applescripts.thompson-solutions.com/applescript.php?id=40
This apple script is awesome! It lets you pick how old you want to delete, and what folder.
This guy will get you any script you need, and they are great to deal with.

Account information is kept in NetInfo, a complex system database. If you just delete a home folder the account will still exist, and a new home folder will be created the next time a user logs into it.

Similar Messages

  • I am having serious issues trying to alter my old iCloud account with an old non-functioning email to my new apple id with a new email address. The message keeps coming up on all my apple products with my old email (which is not available anymore).

    I am having serious issues trying to alter my old iCloud account with an old non-functioning email to my new apple id with a new email address. The message keeps coming up on all my apple products with my old email (which is not available anymore).

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

  • I recently changed my email on my apple account but the old email address is displayed when I go into iTunes or App Store not allowing me in.

    I recently changed my email on my apple account but the old email address is displayed when I go into iTunes or App Store not allowing me to sign into my account. At some points it's a vicious circle because it asks for a password at key times when trying to correct the problem. Note that the new email address shows when I log into my Apple account and shows it was verified. For some reason the system isn't updating to the new email in ALL places.
    I hope this is the right place to post this. Thanks!

    Apple doesn't monitor here. Best we can do is to push you to contact Apple directly.
    This is from the iOS Dev Center forum...
    http://devimages.apple.com/maintenance/
    We apologize for the significant inconvenience that our downtime has caused and encourage you to reach out to ourhttps://developer.apple.com/contact/ if you need any assistance.
    (Check under "Program Enrollment").
    Note that your program membership should have been automatically renewed if it lapsed during the downtime period.  If not, please be explicit about that in your support request.
    --- DrErnie

  • How can i delete old email addresses that are no longer in service?

    How can I delete old email addresses that are no longer in  use from my apple computer

    Yes, just open mail and click on the window menu and select previous recipients, when the window opens start edit your email addresses.

  • HT4993 I had a email address in my my phone , and want to change but when pull up download app the old email automaticly comes up how do i change?

    I had a email address in my my phone , and want to change but when pull up download app the old email automaticly comes up how do i change?

    All apps that you have purchased or downloaded are tied to the apple id/email that you use to buy it.  That's why it is showing your old email when you are trying to update the app.

  • HT202274 Apple ID has my old email address. It will not allow me to change the address and will not accept my password or ID questions.   I recently upgraded to OSX Yosemite 10.10.1.  I also have an Apple ID that works with iTunes and would like to keep i

    Apple ID has my old email address. It will not allow me to change the address and will not accept my password or ID questions.   I recently upgraded to OSX Yosemite 10.10.1.  I also have an Apple ID that works with iTunes and would like to keep it as my primary.

    To change the iCloud ID on your devices you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted (if using iOS 7), then sign back in with your current ID.
    If you don't know the password for your old ID, or if it isn't accepted, you will have to temporarily recreate it in order to delete the existing account.  To do this, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I have changed my Apple ID from an old email to a new one.  But It keeps coming up with my old email and asking for my old password. How do i stop this from happening and get it onto my new one?

    I have changed my Apple ID from an old email to a new one.  But It keeps coming up with my old email and asking for my old password. How do i stop this from happening and get it onto my new one?  Its on my Ipad and iphone 5, please help as its doing my head it

    How do you update it? Basically what has happened my password was disabled for "security reasons" on sunday (21/10/12), so i tried to reset it, but for some reason i couldnt get into my old email (probably because i havent used it for 2 years), so i read on here i could swap it to a new email that i currently use (which is what i have done) ive swapped everythin over to it (facetime, iCloud etc) but keeps coming up with old email and asking for password

  • I've had an Apple ID under an old email address. I have a new Apple ID under my current email. Is there a way to link or merge the two together? I don't remember the old password and that email address is no longer active.

    I've had an Apple ID under an old email address. I have a new Apple ID under my current email. Is there a way to link or merge the two together? I don't remember the old password and that email address is no longer active. If I cannot link or merge the two, how can I activate the old ID on the new computer if that email account is no longer active?? Any advice would be great. Thanks in advance!!

    You cannot merge accounts.
    You need to sign into the old account on your computer.
    iTunes Store: Retrieving and changing passwords (Apple ID)

  • HT1495 i have an old apple id using an old email address how can i sync this one with my new id as i can not remember my old password

    i have an old Apple id using an old email address how can i sync this when i can not remenber the password wwith  my new account

    You'll have to contact iTunes store support to see if they can help you with this: http://www.apple.com/emea/support/itunes/contact.html.

  • How to delete old emails in app store?

    how to delete old emails in app store?

    Yes, I am with KJ, I have no real idea what you are asking about. The app store does not usually have email involved with it.

  • My Apple ID is my old email and I want to change it  but can't because my rescue email is my current one.

    My Apple ID is my old email and I want to change it  but can't because my rescue email is my current one. How do I change it?

    There are instructions on this page for how to change your rescue email address (you may need to log out and back into your account before trying to use it as your main address) :
    Navigate to appleid.apple.com using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    After you've validated your identity by correctly answering your security questions, click Edit to the right of your rescue email address.
    Once you've finished editing your rescue email address, click the Save button directly below the email field.

  • My apple id is an old email that isnt working. Do I need to change it to a working email? If so will I not lose all my songs I have paid for with the old id email?

    My apple id is an old email that isnt working. Do I need to change it to a working email? If so will I not lose all my songs I have paid for with the old id email?

    Welcome to the Apple Community.
    Yes you should supply another address, no you won't lose your purchases.

  • Delete old email address from cache on a MAC

    Has there been a solution to delete old email addrss from the cache on a MAC?  I'm not talking about iPhone or iPad devices.  The last discussion on this topic was back in 2012 and it doesn't look as if this was resolved.
    Bottom line, when you create an email on the mac, the auto fill pulls up every email address for an individual (current or not).  The correct email address are in the contacts, but the cache is storing the really old address.
    Suggestions are welcome.

    Apart from the AddressBook, email addresses are also kept under 'Previous Recipients' in Mail, in the Window menu.

  • How can I delete old email addresses from the "From" drop down menu when sending emails?

    I have some old email addresses, I think may be aliases that show up in the drop down box  in the "From" in email messages that I send.
    They don't show up anywhere in the Preferences/Accounts panel at all.
    Very perplexed at this one.

    From the Mail menubar, click Window and select Previous recipients. In there you can delete old email contacts.

  • How do I delete old email addresses from the pop up list that comes up when I put a letter into the "To" box. These addresses are not in my address book.

    How do I delete old email addresses from the pop-up list that comes up when I put a letter into the "To" box? They are not in my Address Book.  Wrong addresses get in the way and I sometimes select the wrong one.

    Edit the list the comes up when you go to the Window menu and select "Previous Recipients".
    charlie

Maybe you are looking for