Variation of smoothed prime sums
Let $H$ be any finite abelian group and $G=(\mathbb Z/2\mathbb Z)^2\times H$. Choose arbitrary natural numbers $q,d$, subgroups $I_p\le G$ and elements $F_p\in G$ for each natural number $p$, and a complex function $\kappa$ on $\widehat G$. Define $a_\gamma(n)$ and $g_\gamma(y)$ by the formulas in (Prime-power Fourier identityTheorem ANT.0114). No ramification or primality conditions on these data are needed here. For the trivial character use the real function $g_1$ in that formula, independent of $\kappa(1)$.
For every $\gamma\in\widehat G$ and $A,v,v'>0$, $$|v g_\gamma(A/v)-v'g_\gamma(A/v')|\le\frac{3A}{\min(v,v')}|v-v'|.$$ There is an absolute constant $C_d\ge0$, chosen before $H$ and all the preceding data, such that, for $y,z\ge1$ and every nontrivial $\gamma$, $$|g_\gamma(y)-g_\gamma(z)|\le |y-z|\{\log\max(y,z)+C_d+|\kappa(\gamma)|\},$$ while $$|g_1(y)-g_1(z)|\le C_d|y-z|.$$
The first estimate holds for all positive arguments $A/v,A/v'$. In the last two estimates the arguments must be at least $1$. The source's complex norm is the usual absolute value.