Instagram reactivation

I deleted Instagram from my phone. Few days later they sent me an email with photos from my news feed and a link to download the app.  


I wonder if they are able to track users who uninstalled the app, or the email is triggered based on lack of activity for long.

I am always impressed by Facebook’s engagement loops. They never miss an opportunity to engage or reengage users.