Re: List of essential episodes.
Just with the themes you mention above, you're likely looking at 100 to 150 episodes.
The Naked Time
(TOS) and Time Squared
(TNG) both have elements of time travel involved.
"...the most elementary and valuable statement in science, the beginning of wisdom, is I do not know." - Lt. Commander Data, "Where Silence Has Lease"