Get Email User Login When Access Module

Hi Everyone,
Is it possible to take the login email when the user accesses the module?
how to get it, how do you form Scripts?