I am looking for a wait to schedule tasks based on the reception of an email. 
More precisely, I received an email with some attached data every week and I need to add these data into a database (and process some information). Is there a way to do it automatically? 
Would airflow be a good option to do this? I found that airflow can send email but I did not find anything about reading mails. 
I know it is possible to read email and download attached file in python. But what would be the best way to check if a specific email is received (defined by a sender) and process its data as soon as it is received ?
You could schedule some BashOperator or PythonOperator that periodically checks new mail and if they find one they start processing it. While I cannot give you any specific library, I am sure there must be a way to read and handle email in Python.
airflow : wait to receive email and process data contained in attached file