我如何分析我的 Gmail 历史记录以获取最多电子邮件?
How can I analyze my Gmail History for Most Emailed?
除了这个漂亮的工具,我还发现了:https://immersion.media.mit.edu/
是否有任何其他 tool/google 脚本可以简单地告诉我最常发送的电子邮件列表(最好使用日期过滤器并采用电子表格格式)?
Immersion 的问题是它不会显示主题行。
我不知道有什么工具可以解决您的具体问题,但您可以编写脚本并连接到 google 驱动器上的 google 电子表格 - Google's tutorial(即制作你自己的工具)。如果您希望将结果格式化为电子表格,这将特别有用。
一旦你弄清楚了如何编写 google 脚本,你就可以使用全局变量 GmailApp 来查询你的电子邮件并循环访问结果,如下所示:
function myFunction() {
var maxResults = 200; // the number of results the seach gives at a time
var query = "from: Joe"; // the same as a search query you would type into the gmail ui
var count = 0; // the index of the last searched email
var threads;
do {
threads = GmailApp.search(query, count, maxResults);
/* you can manipulate threads here */
count += threads.length;
}
while (threads.length === maxResults); // when the results are no longer full you've counted them all
}
或者如果预计结果总数不会很大,可以直接调用:GmailApp.search(query);
很大程度上依赖于查询来定制您的结果,因为如果您需要多次调用 thread.getMessages()
来检查内容,脚本会变得非常慢。 Google 的搜索查询可以更快地完成这一切。
以下是制作 gmail query based on the date.
的方法
除了这个漂亮的工具,我还发现了:https://immersion.media.mit.edu/
是否有任何其他 tool/google 脚本可以简单地告诉我最常发送的电子邮件列表(最好使用日期过滤器并采用电子表格格式)?
Immersion 的问题是它不会显示主题行。
我不知道有什么工具可以解决您的具体问题,但您可以编写脚本并连接到 google 驱动器上的 google 电子表格 - Google's tutorial(即制作你自己的工具)。如果您希望将结果格式化为电子表格,这将特别有用。
一旦你弄清楚了如何编写 google 脚本,你就可以使用全局变量 GmailApp 来查询你的电子邮件并循环访问结果,如下所示:
function myFunction() {
var maxResults = 200; // the number of results the seach gives at a time
var query = "from: Joe"; // the same as a search query you would type into the gmail ui
var count = 0; // the index of the last searched email
var threads;
do {
threads = GmailApp.search(query, count, maxResults);
/* you can manipulate threads here */
count += threads.length;
}
while (threads.length === maxResults); // when the results are no longer full you've counted them all
}
或者如果预计结果总数不会很大,可以直接调用:GmailApp.search(query);
很大程度上依赖于查询来定制您的结果,因为如果您需要多次调用 thread.getMessages()
来检查内容,脚本会变得非常慢。 Google 的搜索查询可以更快地完成这一切。
以下是制作 gmail query based on the date.
的方法