Gmailの受診トレイ内に届いたメールから添付ファイルを保存するときに、特定の期間で届いたものだけを保存したいです。
例えば、月初めから実行ボタンを押す前日までとしたいです。変数に何日から何日の間のように入れて条件にしようとしたのですが、メールの添付ファイルを保存だと日付が特定のものしか選べずできません。
良い方法があるでしょうか?
Duplicated post
1 Like
Hi @ru-32
1.Install the UiPath.GSuite.Activities package
2.Authenticate with the Gmail API
3.Retrieve emails Using the Get Mail Messages activity within the GSuite Application Scope to fetch the emails from your Gmail inbox. In the properties of this activity, you can set the Filter property to specify the desired date range. You can use the following filter expression:
“newer:2023/07/01 after:2023/07/01 before:2023/07/08”
4.Save the attachements.
Hope it helps!!
1 Like
お二人ともありがとうございます。うまく接続ができず?投稿が2重になってしまったようです。ありがとうございました。
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.