This note is to concern a generalization to the case of twisted coefficients of the classical theory of Abelian differentials on a compact Riemann surface. We apply the Dirichlets principle to a modified energy functional to show the existence of differentials with twisted coefficients of the second and third kinds under a suitable assumption on residues.