Generation of threshold emails