Kevin Ewing, 31, hid more than 5,000 items of mail between 2009 and 2014. He told Perth Sheriff Court he was finding it difficult to cope.
Ewing, from Perth, was caught after Royal Mail set up surveillance to monitor him.
Sheriff Lindsay Foulis sentenced Ewing to carry out 300 hours’ unpaid work.
She said: "It might be fair to say a significant number of these items might have ended up in the recycling anyway. It all falls within the category of what the public might call junk mail.