获取邮件内容(可选实现) Args: email_id: 邮箱服务中的 ID message_id: 邮件 ID Returns: 邮件内容字典 Note: 这是可选方法,某些服务可能不支持
(self, email_id: str, message_id: str)
| 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 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected