[
https://issues.apache.org/jira/browse/AIRFLOW-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680390#comment-16680390
]
Ash Berlin-Taylor commented on AIRFLOW-2780:
--------------------------------------------
You can pick what you like, and I (since I'm doing the release of 1.10.1) treat
it as an indication that people want it in the next release, and if it's a
small change, easy to fix there's a reasonable chance of it being pulled in to
the release branch.
> Adds IMAP Hook to interact with a mail server
> ---------------------------------------------
>
> Key: AIRFLOW-2780
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2780
> Project: Apache Airflow
> Issue Type: New Feature
> Reporter: Felix Uellendall
> Assignee: Felix Uellendall
> Priority: Major
> Fix For: 1.10.1
>
>
> This Hook connects to a mail server via IMAP to be able to retrieve email
> attachments by using [Python's IMAP
> Library.|https://docs.python.org/3.6/library/imaplib.html]
> Features:
> - `has_mail_attachment`: Can be used in a `Sensor` to check if there is an
> attachment on the mail server with the given name.
> - `retrieve_mail_attachments`: Can be used in an `Operator` to do sth. with
> the attachments returned as list of tuple.
> - `download_mail_attachments`: Can be used in an `Operator` to download the
> attachment.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)