This is how you add login info into emails.

And who can explain it better than Infusionsoft. Here is the link: https://help.keap.com/help/adding-personalization-with-merge-fields

The merge fields you will be using is the username and password field under contact. Do not use a custom field as they will not work.