Edit: Looks like I was confused about what triggers the UID_VALIDITY to be re-assigned. I thought that moving/deleting emails might cause other email UIDs to change and thus change the UID_VALIDITY link. Probably a better question is whether moving emails from one folder to another will cause the UID_VALIDITY of the destination folder to be re-assigned.
Original question:
I've read that moving an email from one inbox/folder to another will trigger the email server to re-assign all email UIDs and change the UID_VALIDITY value. Is this also true for moving emails between folders that Outlook creates? I am using Outlook with Python imaplib library and I have some emails that I accidentally archived and some emails in spam that I would like to move back to the main inbox while keeping the UID_VALIDITY the same. Are the spam/archive folders real folders or does Outlook use some sort of filter/flag to create the spam/archive folders? If simply moving the emails from spam/archive will trigger the UID to change, is there some other way of copying/moving these emails while keeping the UID_VALIDITY value the same?
Due to company restrictions, I cannot easily test this with a test account so any ideas would be welcomed.
Related but pretty general: link1, link2, link3, link4
Related
I recently received an email through Gmail which I happened to forward on to another account of mine luckily...
When trying to find the original email, I searched and searched, and couldn't understand why it wasn't there?!
Turns out Gmail recently introduced Confidential emails, I'm sure this is useful for some people, but this is an absolute nightmare for me. Anything with importance enough to send confidentially, is critically important and must be kept.
For those of you who also have no idea what this is like I didn't; you can set a time limit for the email, or withdraw it at any time, and gmail will unassign the recipient from being able to read it,although it still persists on the server
Does anyone know how I can set an automatic rule in Gmail to specifically make a copy of only emails with this new "confidential" tag? Or at least emails that are time limited / can be withdrawn?
I know there are rules to copy all incoming mail, this is not what I want as it would fill my inbox twice as fast (already many GB)
I'm trying to append sent emails to the "Sent" folder in different email accounts running in different servers (yahoo, gmail, outlook, etc.)
For that purpose, I'm using the imap_append function where I have to give the name of the folder I want to append the emails.
The problem is that every account has different folder naming and languages. For example, Gmail has [Gmail]\Sent, a Spanish Yahoo account has Enviados, etc.
Is there a solution for this? I have tried to send the emails to INBOX.Sent but not working at all.
Is the only solution asking the user to define his "Sent" folder?
Edit:
I have checked the tags for the [Gmail]\Sent folder in a Gmail account and I don't know why it has no \Sent flag defined. How are mail clients supposed to know that the sent emails should be copied here?
We have a newsletter where people opt-in (everything is on the up and up here). As people leave jobs (fired, layoffs, etc.), we still send to those emails and now after a few years, we have a considerable amount of emails that need to be purged.
The inbox that is receiving the bounces/invalid emails is a gmail account. We can filter (via a search) and find the emails that need to be removed but how can we export those emails to a list so that we can clean up our distribution list? Are there any tools that would help simply this?
We are looking into mailgun and sendgrid for future send outs but we need to clean up the list before we migrate. Any help or suggestions would be appreciated.
Our tech stack is apache/coldfusion 11 (not that it matters but in case it helps).
You could use CF to log into gmail and pull all the messages. Then loop through them all to find the bounce messages. Appending those bounced email addressed to a simple flat file. If you want to get fancy you can use a database, but I think a simple text file would do in this case. One email address per line.
I just read that you are deleting those bounced email addresses from a database. IF you're confident of your coding the above idea, you could directly delete from your database rather than saving a file.
This seems like a fairly obvious thing but I can't figure out how to do it and am hoping one of your geniuses can help me out!
We have a Gmail email account and then a ticket system that checks that account and sends an auto-reply to the sender saying that the email was received. This is checked via POP3 but can also be done via IMAP if necessary.
What I want is this: For certain messages, I'd like to file them immediately in Gmail and have them go to a special folder and have them NOT be checked by the ticket system. That's all.
I tried creating a filter in Gmail to move them, skip the inbox, mark as read, all of that. They still get picked up by the ticket system.
I thought POP3 only checked the INBOX on any server, so I expected that if I skipped the inbox then it would not be accessible. This doesn't seem to be the case.
Please let me know if there are any tricks I can do.
Thank you so much!
Ben
The problem that you are running into is that when connecting to GMail via POP3, you are actually accessing the "All Mails" folder and not the Inbox, so filtering the messages does not remove them from the list presented to your client via POP3.
Switching to IMAP should solve this problem, however, since you'd be able to open whatever folder you wanted.
Our sales process uses a 'sales' mailbox with a number of sub folders for each stage of the sales cycle. As emails move through the cycle they are moved from one sub-folder to the next. No internal emails about an opportunity are allowed (either To, Cc or BCC) as discussion takes place on chatter
On occasion a salesperson needs to move an email into a manager's email inbox, but they don't have access to the mailbox.
How can we set up permissions for the salesperson so that they are able to drag and drop the email into a mailbox, but so they don't have visibility of the emails or folder structure inside.
We're using Outlook 2013 and office 365 (and thus a Microsoft hosted exchange server).
A good answer for this question would either describe the permissions required and how to achieve the desired outcome OR suggest workarounds
At present its not practical for us to move to a helpdesk solution
The issue with this Exchange is based partly on NTFS permissions and you cannot be given Modify permissions without being given read permissions.
You could encrypt the contents of the email before moving it into Sales and then have the application that moves the emails around can decrypt it when sending it to the manager or displaying it within the application.