Added tests for sending publish emails to providers