It is not right to send login credentials through email because if you send someone userid and password in the mail, chances of email attacks are high.