Config SMTP server
Go to System > Settings > Configuration and edit the SMTP details.
Then go to System > Settings > Layouts and create a layout like the below details:
Name: Send the VM details
Type: setup
Content: You can enter your HTML email template here.
Example email template
Your machine is ready to use
The machine details are here
IP Address: @address
Username: @username
Password: @password