Set myItems = myInbox.Folders("TODO").Itemsįor i = myItems. Set myDestFolder = myInbox.Folders("test") Set myInbox = myNameSpace.GetDefaultFolder(olFolderInbox) Set myNameSpace = Application.GetNamespace("MAPI") This code, per this SO post, will move all the Files from folder TODO to folder Test: Sub MoveItems() eg, if the rule is Snoozetill3, then how does one run Snoozetill3.execute() correctly (that doesn't work)? The only thing I need to finish this project is VBA code that runs on a schedule, and possibly syntax to run a rule correctly. Suggestions on a better approach or fleshing out the approaches I tried? This is accomplished using special labels that the script sets up, and an Apps Script time trigger that moves emails between the labels around. To snooze an email means to have an archived email reappear in the inbox after a set number of days. I attempted adapting a few scripts, but I was unsuccessful enough that I won't include them here. Gmail Snooze is a Google Apps Script that adds the ability to 'snooze' an email to classic Gmail. Unfortunately, the rule would run but only on incoming emails - it didn't automatically process the emails that were already in the folder. The other approach I tried was to move emails to a particular folder (ie, snooze until 2 PM, snooze until 4 pm, etc) and then have them move back to inbox at a particular time via a rule or a script. I have attempted to leverage the view-hide method to manage this by categorizing emails, running a rule to hide the email when categorized, then removing the categorization at a particular time, but I couldn't find a nice way to 1-run a rule on categorization that already exists (1- is outline in the comments), and 2-run a rule on the whole folder at a particular time (2-is now outlined below). Ideally, I would be able to use a nice UI (eg Gmail) such as this one: I often have email I want to hide until it is actionable later in the day. You can change this behavior in settings, however, so you advance to the previous or next message after you delete an opened message.I am currently using a view filter to "snooze" email - which means the email is hidden from view when a followup flag is placed on it until the flag is set for followup on "today." This is the basic view filter setup in the advanced tab of view filter in Outlook: By default, Gmail sends you back to your inbox instead of the next message when you delete an opened message, which requires more clicks and time to clean out your inbox. I prefer to open most emails before deleting them so I can take at least a quick glance before discarding them. I spend a large chunk at the beginning and end of each workday deleting unwanted emails. Turn on or off notifications you want to receive. Choose your settings: To turn off all notifications, turn off All notifications. Touch and hold the notification, and then tap Settings. You can keep tabs on your scheduled emails in the Scheduled folder under the Sent folder - it gets created once you schedule your first email. To find your notifications, from the top of your screen, swipe down. You'll be able to pick a time in the future for your missive to arrive. To do so, click the little down-arrow next to the Send button at the bottom of the compose window and click Schedule send. Instead of an email that will disrupt someone's evening or early morning, you can easily schedule your message to be sent at a later time. With the popularity of remote work, it's likely you work with people in various locations and time zones.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |