Monitor sender's attachment (names only) with Gmail API or Mail Audit API (or with other APIs)? - google-api

I'm trying to create an app to monitor employee's file attachments using Google's APIs.
I know that I could download all the emails from the audited user list using Mail Audit API and run scripts on the mails but would there be a better way to get sender's email address with attached file names?

Unfortunately, the only options available are the ones you have already suggested.
However, what you can do is to file a feature request on Google's Issue Tracker here and provide all the necessary details about your use-case and what is it that you want to achieve.

Related

Yasoon - Modify existing email, replace file with http(s) share link

Can the Yasoon Outlook development system modify existing emails, so that I could replace all attachments with links to the file from our internal cloud storage environment?
Or does anyone know of an app that will let me do this? I have seen the ones for Box/Dropbox/etc, but we are using FileCloud, and they have a very rich API in addition to the storage being hosted internally.
What the company would like to do is the following:
Select attachments by criteria
Upload the attachment(s) to FileCloud (FileCloud API)
Set the file as shared, with the mailfile owner being the only
authorized user (FileCloud API)
Replace the file in the email with the new share URL from FileCloud
And continue on until all selected attachments have
been processed in the mail file.
Tobi from Yasoon here, sorry for not getting back earlier.
Our tool is probably overblown for this use case though it's possible (https://github.com/yasoonOfficial/com.yasoon.attachment.export)
But you should probably look into the new Outlook API: https://dev.outlook.com/MailAppsGettingStarted/GetStarted

Office365 Outlook REST API's for approval/rejection of messages by moderator

In a recent post (How to retrieve ItemAttachment contents from Office 365 REST API?) API mentioned to retrieve attachments from within an attached EML is in plans. Is such API already available?
In case of mail flow rule to send a message to a moderator. Approval mail is sent to an approver with the original mail attached as eml. Is there an API to approve/reject the message, similarly to the web buttons approve/reject?
Thank you very much.
We were also looking for an answer to (2), but even now, apparently this is not possible via the REST API. There's one SO link that has a powershell script that claims to do this - see Approve email message via exchange EWS API, however, I don't see a clean solution yet.

Get user email in windows 10 universal app

I am trying to build a control that the user can use to send feedback to developer. I am using email as a delivery method and I leverage sendgrid email service for this. Now I want to know the users email address so I can respond back to the user's concern. I am not sure how to get the user's email in window 10. Any help or pointers please?
I would strongly recommend to use the sharing approach that has been introduced with Windows 8 - instead of writing and maintaining your own mail functionality and trying to access additional user data.
Have a look at the existing and built in e-mail functionalities. They make use of the user's connected mail accounts and the mail app. This way you don't need to worry about handling the message transmission or anything but rather hand the information over to the mail client. This way you also know how to reply back.
And as a bonus, the user can still access their message via the Sent Mails folder :)
There is a specific class for that, the EmailMessageClass (https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.email.emailmessage.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1) as well as a dedicated guide with code example.
https://msdn.microsoft.com/en-us/library/windows/apps/mt269391.aspx
Essentially you can prepopulate the Mail fields with necessary app information where applicable. The user gets to choose which accounts he wants to send the mail from, but it will open in the mail client.

is there is possible to migrate email to the gmail account

i want to develop office app and i want to sync email from outlook to Google account.
then,
which scope i use?
how to pass email data to URL and on which URL?
if possible to give me example
i use this two scope for authentication or to get user info.
https://www.googleapis.com/auth/userinfo.profile
https://www.googleapis.com/auth/userinfo.email
i refer this stack overflow link :
link
another question is i can migrate email to example#gmail.com(gmail account)?
i use a Google playground to check email migrate scope then it give error to invalid access of API and it proper work if i use example#domain.com to migrate email.
If you are trying to migrate emails from outlook to GApps, you should use the email migration API scope:
https://apps-apis.google.com/a/feeds/migration/
Google also has an official tool that you can use to sync Outlook to GApps. https://tools.google.com/dlpage/gappssync <- check it out.
Old topic, but might be useful for someone else..
to #gmail accounts - Mail Fetcher
https://www.youtube.com/watch?v=gphzjf6sLRc
However this does not preserve folder structure.
Options like GAMMO (https://tools.google.com/dlpage/outlookmigration) and GAMME(https://tools.google.com/dlpage/exchangemigration) work only for migrations TO a business Google For Work account, not to personal gmail. GAMME also migrates between IMAP servers.
Another option is to export your PST file, put it in Outlook, sync your #gmail.com and drag/drop emails to your gmail PST which will sync up to the server. There is a chance of losing data though!

Service that allows customised content newsletters

I am currently looking at building a web app that allows a user to sign in and receive a list of their tweets from the previous week in an email this information will be stored and pulled in from a db
Now at first I thought I could use something like postmark but this is apparently only for transactional emails and not bulk newsletters. I guess mine would be a newsletter as it would send to lots of people at the same time every week. But my question is how could I use a service like mailchimp that would allow completely customised content for each recipent? Is this possible with a service like mailchimp or campaign monitor?
If you want customized content per subscriber in the one email campaign (dynamic content), MailChimp is the way to go. Campaign Monitor has yet to implement that functionality.
Another option if you're a developer is to use Sendgrid.

Resources