Offhand I can't think of any violation to having an outlet inside a cabinet. "Intended use" is a new code concept for me (any specific violation anyone?). I put microwave outlets in the cabinet above the range. It wouldn't keep anyone from using it for a toaster or hairdryer.