A young mother who tried to smuggle £285,000 worth of cannabis into the UK from Thailand has avoided a prison sentence.