gbrodman / order-tracking

Automated Amazon and Best Buy order tracking for buying groups
GNU Affero General Public License v3.0
33 stars 13 forks source link

Add multiple email support with multiple amazon support #175

Closed jomizrahi92 closed 3 years ago

jomizrahi92 commented 3 years ago

Leaving this as a draft until this is in a better place. Note: This includes the amazon changes from https://github.com/gbrodman/order-tracking/pull/174. I saw this issue https://github.com/gbrodman/order-tracking/issues/96 and looks like it haven't gotten much ground. I do have multiple emails and multiple amazon accounts, i've found making these simple changes and just switching email2 to email and email to email2 and then running it seems to work really well. My idea is to have email selection (email key) to be a param entered, wondering if anyone has some good feedback on how I can get that done, I do know this might be a large change this this would take the email selection from as a param then grabbing the email key currently from the config.

The issue does mention doing it differently so looking for some feedback for how to proceed. I do at least think the way i've done it currently in this PR is more of an interim solution to easy switching between accounts while still utilizing the one spreadsheet.