email at login

if possible reiceve email, after user is log in with user security

If your user is logged in via a login button you should simply jump to the next application that you want him in. So before the sc_redir for jumping to the other application just use the sc_mail_send function.