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

Method get_message_content

src/services/base.py:258–272  ·  view source on GitHub ↗

获取邮件内容(可选实现) Args: email_id: 邮箱服务中的 ID message_id: 邮件 ID Returns: 邮件内容字典 Note: 这是可选方法,某些服务可能不支持

(self, email_id: str, message_id: str)

Source from the content-addressed store, hash-verified

256 raise NotImplementedError("此邮箱服务不支持获取邮件列表")
257
258 def get_message_content(self, email_id: str, message_id: str) -> Optional[Dict[str, Any]]:
259 """
260 获取邮件内容(可选实现)
261
262 Args:
263 email_id: 邮箱服务中的 ID
264 message_id: 邮件 ID
265
266 Returns:
267 邮件内容字典
268
269 Note:
270 这是可选方法,某些服务可能不支持
271 """
272 raise NotImplementedError("此邮箱服务不支持获取邮件内容")
273
274 def update_status(self, success: bool, error: Exception = None):
275 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected