开发者

Convert google email audit attachment to an email

开发者 https://www.devze.com 2023-02-08 09:49 出处:网络
Google has an email auditing feature that will allo开发者_运维问答w a google apps admin to bcc incoming and outgoing email (lots of options) to another account. The problem is that the email is sent t

Google has an email auditing feature that will allo开发者_运维问答w a google apps admin to bcc incoming and outgoing email (lots of options) to another account. The problem is that the email is sent the other account as an attachment. The attachment is the full email, headers and all. I would like to convert this to an email and send it or maybe better described as receive it at another account as if it was actually Bcc'd to me.

My thought on this was to write a python script to get the email from the account and do the conversion and resend/upload via imap. but I don't really know where to start.

1, Has this problem been solved, i.e. is the an open source solution?

2, If I was to write this in python can you recommend or provide an example/tutorial that might get me started.

Thanks Vincent


  1. Not to my knowledge, but I don't know that much.
  2. offlineimap is written in Python and performs both IMAP downloads and uploads. Python comes with an email parser and imap client. Those might be a good places to start.
0

精彩评论

暂无评论...
验证码 换一张
取 消