from typing import Iterator, Dict, Any from mail_intake.adapters.base import MailIntakeAdapter from mail_intake.auth.base import MailIntakeAuthProvider class MailIntakeGmailAdapter(MailIntakeAdapter): def __init__(self, auth_provider: MailIntakeAuthProvider, user_id: str = ...) -> None: ... @property def service(self) -> Any: ... def iter_message_refs(self, query: str) -> Iterator[Dict[str, str]]: ... def fetch_message(self, message_id: str) -> Dict[str, Any]: ... def fetch_thread(self, thread_id: str) -> Dict[str, Any]: ...