Merged email notification functions; fixed reversed case of skip_notifications check