Registre de correu electrònic: How and When to End the COVID-19 Lockdown: An Optimization Approach