MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / get_email_info

Method get_email_info

src/services/base.py:150–164  ·  view source on GitHub ↗

获取邮箱信息(可选实现) Args: email_id: 邮箱服务中的 ID Returns: 邮箱信息字典,如果不存在返回 None

(self, email_id: str)

Source from the content-addressed store, hash-verified

148 pass
149
150 def get_email_info(self, email_id: str) -> Optional[Dict[str, Any]]:
151 """
152 获取邮箱信息(可选实现)
153
154 Args:
155 email_id: 邮箱服务中的 ID
156
157 Returns:
158 邮箱信息字典,如果不存在返回 None
159 """
160 # 默认实现:遍历列表查找
161 for email_info in self.list_emails():
162 if email_info.get("id") == email_id:
163 return email_info
164 return None
165
166 def wait_for_email(
167 self,

Callers

nothing calls this directly

Calls 2

list_emailsMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected