Again, I'm not opposed to granting citizenship outside of the normal procedure, but I think this should require having done some exceptional to deserve it. I have no problem with granting it to a law-abiding health worker who has pulled 60 hour weeks in ICU since the beginning of the pandemic, but I don't see what a garbage collector who's been doing their job normally (like everyone else) has done to deserve "a medal".
Lastly, France has a high unemployment rate so I don't think there is a need to attract unskilled foreign workers. If unskilled jobs are left unfilled (and I don't have data to say they are) the issue is not workforce shortages.
So if there is a calculation, it's to do it well in advance of the campaign, so as not to have to justify themselves.
Marcon is appealing to the centre and left because I think he'd be quite happy to have another second round between him and Le Pen. It'd be closer than last time but he'd win. So ideally the best things he can do are things that make more people on the left vote for him and keep Le Pen on top on the right. This might be one of them.
I also think Macron launched his campaign with his visit to Marseille, which also looked very much like an appeal to the centre and left.
[1] https://www.connexionfrance.com/French-news/Immigration-is-a...
What I'm suggesting is that high unemployment is a sign that there are people available locally. If there are difficulties filling jobs, especially unskilled jobs, this therefore points towards problems within the employment market and benefits (which are indeed well-known for having systemic problems in France for a very long time) not 'shortages' per se. In such situation the claim that immigration is 'needed' to fill these jobs does not hold water.
If these people stop showing up for a month, you'll find out just how essential these people are. If it is hard to find people to do this domestically, then offering citizenship to attract foreign workers is a good idea.