The code to handle sending notifications about publishing a new issue is here:
The first line hints that an ugly (but potential) non-code workaround. You might be able to temporarily set the journal’s Distribution Access settings to “OJS will not be used to publish the journal’s contents online” while publishing each issue.