Added view emails functionality for employees