02_Script_Search_attachment - Hideboyon/Samples GitHub Wiki
Motivation
An excel file attached to an email that is automatically sent from the SQL server everyday. The whole process of opening it every time, formatting it , and sending it by email again took time and effort, so I decided to in the meantime, before formatting, the "Search for mail and save it to a local folder I thought I would create a work flow by python.
作ろうと思ったきっかけ
毎日、SQLサーバから自動で送信されてくるメールに添付されたエクセルファイル。 こいつを毎回開いて、整形して再度メールで送信する一連の作業がめんどくさかったので、 とりあえず、整形する前、「メールを探し出して、ローカルフォルダに保存する」 という作業を作ろうと思った。