Fixed diagnotic code
Refactor ses notifications to be in separated functions
Fixed setting incorrect payload text
Improved message on SES notifications