Is it possible to get a full Gmail history and export it on a Google Spreadsheet? - google-apps-script

Big premise: I know nothing about coding, but I think it may be the solution. I apologize in advance for any rookie mistakes regarding the matter (also spelling ones, as english is not my first language).
Background: very important emails have been deleted from an institutional account, even from the trash. I've managed to restore them by the Gmail Admin Console, via "restore data" option.
Retrieving said emails wasn't an issue.
Proving that those email were deleted in the first place, however, it is.
Looking for solutions day and night, I stumbled upon Gmail APIs, especially something called users.history.list. I had no luck in obtaining valuable results (again, I know nothing about coding).
So, my question is:
Is there a way to get a full Gmail History, proving that those emails were deleted in the first place, and export said results somewhere (ig. a Google Spreadsheet)?
I'm asking because legal action has to be taken, and this could be a start.
Thank you in advance, again, I apologize if this is not the right format but i runned out of ideas at the moment...

Related

Strange Google Appscript Error "Must only be whole numbers."

Amateur here.
An image above shows the Logger.log() being performed at the very end of the code. Yet somehow it gives off an Error that I cannot search up in Google (First time Googling can't help me, yikes)
Has anyone gotten a clue? A week ago, it worked perfectly fine before I temporarily abandon the project to focus on other real-life matters. Came back and re-ran the thing without any edit, and this error shows up.
Unfortunately I am very uncomfortable sharing the code - this Appscript utilizes a Google Spreadsheet that automates all the data and numbers for a "roleplaying game" that involves numbers related to money and purchasing. It's closest counterpart would be DnD, but it's much different, more embarrassing, and arguably more confusing when trying to explain it. If however I need to share the whole code for debugging purposes (200 lines), then I will.

Check for Changes on a Email Signature

I have received a odd request.
I have done my own Research I just cant seem to find alot in regards to the topic.
So im wondering if anyone knows or has a way to check for or Refresh Email Signatures.
I realize this might be a bit of topic if so Can someone guide me a spot where I can ask?
I was thinking of pointing to a URL and then updating it on the URL but that would require someone to check the URL everyday, I just cant think of a way to have the Signature check for Automatic updates.
Just to add a little more clarification: The Signature would need to update daily. So it would either have to fetch from a URL everyday or check for changes

Getting a list of active file viewers with apps script

I've been googling for a while but have come up with no results that tell me I can't, but no results telling me I can.
What I'm looking for is a way in apps script (or anything in their .NET/Java/Python...API) to give me a list of people who are actively looking at the sheet when I ask. I tried getViewers but it gives me a list of all people with access, not the ones looking at it currently. If I wanted to do some data manipulation but didn't want to do it when people where in the file, or if I wanted to save the user emails of people who were in the file. It seems like it's part of analytics but I can't find anything that does what I want.
We have a working version that does some on open magic/button script trigger but this requires the user to authorize and would like to improve the process and remove the authorization step.
Anyone know a way to pull the list of people who are currently viewing a sheet/doc/slide?
It seems that this is not yet supported in Google Apps Script. I've been searching for this feature but unfortunately can't also find anything related. (Someone please correct me if I'm wrong or missed something related to this.) You're right that you can get the list of viewers but not the ones currently looking. I guess you can file a feature request for this.
If there is functionality missing from Apps Script that you would like to use, you can file a feature request on our Issue Tracker. Please describe the specific functionality you would like to see added, as well as reasons you think it's important. If possible, include specific details about your use case and the new opportunities the feature would allow for.

Slightly Slow Approval to the Gallery, non-removal of existing script

So, I have to make a minor bug fix to all of my scripts: I didn't realize there was a limit to the amount you could push into the Cache (BTW Google, I'm pretty sure this isn't documented anywhere).
Anyhow, so my three line fix resulted in my having to resubmit a bunch of scripts. Typically this isn't a big deal, Google is usually super awesome about approving them (usually the next business day). However, unfortunately they seem to be taking more time this time. This became a problem because I had to do a presentation today, and I just assumed they would be approved by now (I fudged it and just showed a spreadsheet with the script already installed).
So, I guess my main question here is maybe would have a more graceful upgrade process? It sometimes doesn't make sense to have the script removed from the gallery when waiting for approval.
Thanks!
Ben
I've opened an issue a while ago regarding this (nearly 2 years now). You probably want to star it to keep track of updates.
About the approval process, it is not "reliable" as you could see. I had scripts that took 3 months to be re-approved and then, the next upgrade, only a couple of days.

How can I summarize the updates to a table on an page I browse?

I am a student at a University. With the placement process going on, we have an internal placement website that shows updates and status about various companies I have applied to. Since the number of companies is too large it becomes cumbersome to scroll through the complete list to find information. Sometimes, I just miss some things. Now, to tackle this problem, here is what I want to do:
The data is in an HTML table. Each row shows information about one company: Some dates, Status(Not/Shortlisted/Applied), Some yes/no options etc. each in a different column. Once I open the page I want to be able to extract information about which companies I got shortlisted in, and in which ones I didn't make it.
What is the right technology to do this ? I am thinking of writing a Greasemonkey user script (I have never actually written any, but how hard could it be ?). What other options do I have?
Edit: I don't quite understand why this question has voted to be closed?
I just displayed a use case for something general: On opening a web page, automatically extracting information from the page and display it to the user. What is the easiest and sufficiently powerful way to achieve this?
Since you can't get access to the website's database, Greasemonkey would be your best automation approach. However, this task is likely to be over before you can get a decent script up from scratch.
Your best practical approach is to save the pages and/or copy and summarize the data in MS Excel, or equivalent.
~~~~~~~~~
Here at SO, We will not develop any but the simplest Greasemonkey scripts for you from scratch (unless they are fun somehow ;) ). But, you can sometimes get such help in the "Script requests forum" at userscripts.org.
In order for someone to help you, they will need:
A clear idea of exactly what data gets manipulated, and how.
Access to the target site. Or access to saved snapshots of the target pages. GM scripts are extremely dependent on the details of the target page.
"other option":
ctrl + F
enter shortlisted
enter
ctrl + G <--repeat last search