Gmail client can send the targeting inference result to your Gmail.
There are two configuration requirements for your Gmail account:
- 2-Step Verification is
- Less secure app access is
You can check these two configurations from here.
For example, Alice has a people detection system made by BerryNet, and wants to use her Gmail to send a notification to Bob if there is any person is detected by the system.
Alice sets a target label
$ python3 gmail.py \ --sender-address email@example.com \ --sender-password <sender-address-password> \ --receiver-address firstname.lastname@example.org \ --target-label person