product reporting and email complete on cloud code