implemented displaying emails