For what it's worth, I built something very similar to this and it ran for 7 years until Google shut it down for violating the terms of service. Here's a blog post I wrote with specifics, I case it also applies to your service. https://critter.blog/2020/08/04/a-farewell-to-toogles/