adding email newsletter logic