The slow motion of a liquid droplet in a shear flow in the presence of surfactants is studied. The effects of the interfacial viscosity, Gibbs elasticity, surface diffusion and bulk diffusion of surfactants in both phases are taken into account. The analytical solution of the problem for small Reynolds and Peclet numbers gives a simple criterion for estimation of the tangential mobility of the droplet interface. By applying the standard procedure for averaging of the stress tensor flux at an arbitrary surface of the dilute emulsion, an analytical formula for the viscosity of emulsions in the presence of surfactants is derived. The result is a natural generalization of the well-known formula of Einstein for the viscosity of monodisperse dilute suspensions and of the expressions derived by Taylor and Oldroyd for the viscosity of monodisperse dilute emulsions taking into account the Marangoni effect.