Is this sentence construction grammatically correct?
Let me know when you were free.
No! It should be...
Let me know when you are/will be free.
Here, the word let is used as to notify you when something happens in future (here, when that person is free). The verb were refers to past where future notification cannot happen in this context.