Email upon first successful sign in

I have a site where users sign up, then they activate their account. I'd like to send them an email after successful login.