This is false for the cyclic group of order $6$. Let $g$ be a generator. Then $g^2-g+1$ acts by $0$ on the representations where $g$ acts by a primitive $6$-th root of $1$, and hence is not a unit in the group ring, but $1-1+1=1$ is relatively prime to $6$. More generally, the statement is false whenever $G$ is a solvable group not of prime power order. Let $p$ and $q$ be two different primes dividing $|G|$. Then $p$ and $q$ also divide $G^{\mathrm{ab}}$, so there is a surjection $G \to \mathbb{Z}/(pq)$. Let $\chi$ be the character of $G$ formed by composing $G \to \mathbb{Z}/(pq)$ with an injection $\mathbb{Z}/(pq) \to \mathbb{C}^{\ast}$. Let $g \in G$ be such that $\chi(g)$ is a primitive $pq$-th root of unity, $\omega$. Let $\Phi_{pq}(x) = \sum c_k x^k$ be the $pq$-th cyclotomic polynomial. So the element $\sum c_k g^k$ in $\mathbb{Z}[G]$ acts by $\sum c_k \chi(g)^k = \Phi_{pq}(\omega) =0$ on the representation $\chi$. Thus $\sum c_k g^k$ is not a unit. On the other hand, $\sum c_k = \Phi_{pq}(1)= 1$. (To compute the last, note that $\Phi_{pq}(x) = \frac{(x^{pq}-1)(x-1)}{(x^q-1)(x^p-1)}$ and take the limit as $x \to 1$.)