fix email queue add method