adding logic to not send newsletter if there are no links to send