A mum has urged her child's school to mind its own business after receiving an official warning letter about wearing pyjamas at pick-up time.