added in multiple outputs for different emails