Update 1.18.6 patch - check permissions for email notifications and API