How to proceed if email asking for a recommendation letter hasn't gotten a response after 3 weeks (during COVID-19 pandemic)?
Send a follow up email reiterating your request and the deadline. It's likely the professor has just lost your email in their inbox. It happens, pandemic or not.