Automating Gmail and Spotify takes no code: a ready-made scenario does the routine for you.
Starts when: Schedule
Then: Gmail
Then: Spotify
Then: Spotify 2
Then: Slack
You can launch this Gmail + Spotify integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.