It's the senior engineers (5+ years) which have multiple emails from recruiters and are in really high demand, not so much junior engineers.
Look at the last StackOverflow dev survey: the number of devs with 0-5 years of experience is almost double the number of devs with 6-10 years. That means the number of senior engineers will be increasing very rapidly over the next 5 years. You can bet it's going to be much harder to get a job in about 5 years or so, layoff or not.