Log into your Shopify store and on the bottom left of the screen, select "Settings."
Under Shopify Settings, select the "Checkout" option.
Scroll down to "Abandoned checkouts" and select when you'd like to send out the abandoned cart email.
You can use variables in these emails found here.