Retrigger publish_email_events when hasMore is true
Currently, for each time interval (start timestamp, end timestamp) the maximum number of fetched (and published) events is based on a predefined limit variable.
If the actual number of events within that time interval exceeds the limit variable, we would also like to fetch and publish these remaining events. The hasMore response field provides this information.
While hasMore returns true, consecutive requests should be made by defining the correct offset for each request (see code)