Apply the electric field from the top and drop an electron from top
force on electron due to field = qE (upward)
force on electron due to gravity = mg(downward)
if electron is at rest due to both the forces then
qE = mg
m = qE/g
we know strength of field , charge on electron , and value of g .so we calculate m.