Step 1: Identify forces acting on the bob.
The bob experiences:
\[
\text{Gravitational force } = mg \text{ (vertically downward)},
\]
\[
\text{Electric force } = qE \text{ (horizontally)}.
\]
Step 2: Condition of equilibrium.
At equilibrium, the tension \(T\) balances the resultant of gravitational and electric forces.
Thus,
\[
T = \sqrt{(mg)^2 + (qE)^2}.
\]
Final Answer:
\[
\boxed{\sqrt{m^2 g^2 + q^2 E^2}}
\]