Marking more than 1000 email as read fails #75
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Could you please implement marking more that a thousand emails as read?
I had 2067 unread emails with the target label and run the tool with the '-mark' argument, which resulted in the following message:
failed to batch-delete label UNREAD from 2067 messages: googleapi: Error 400: Number of ids cannot exceed 1000, invalidArgument
The full command in this case was
go run main.go -l alerts -mark -html -refs -compact
.The text was updated successfully, but these errors were encountered: