Let me go point-blank first.
'Whoever' is correct.
Now here is my analysis.
At first glance, it seems confusing. If you focus on 'to' which is no doubt a preposition, 'whomever' is attractive. But if you take 'comes' into consideration, the nominative 'whoever' is a possibility. Now let's...