What if you have a user FirstName and a user firstname?
By the RFCs, SUS, etc., it is quite distinct to have two emails that are only different in case. That being said, modern implementations ignore that.
My best bet would be something like:
Code:
USERPATH=`find /home/mail/domain.com -iname '$USERNAME'`