fixed a bug where the 2nd iteration failed
sms notification of failures. refactored to use promises in messenger.