What is the largest integer $n$ with no repeated digits that is relatively prime to $6$? Note that two numbers are considered relatively prime if they share no common factors besides $1$.

Let's think step by step and output the final answer within \boxed{}.
user