Java GMail API 是线程安全的吗?

Is Java GMail API thread-safe?

特别是,多个线程可以使用同一个GMail服务实例吗?

没有。 Gmail 实现不是线程安全的。

Therefore, if you are running as a multi-threaded application, each thread that you are making requests from must have its own instance of httplib2.Http().

资源Link:gmail api service