I need a program written that will do the following:
-Scan all incoming emails to a dedicated gmail account (I'll give you the user name and password)
-Look specifically for any paragraphs that begin with "notice of trustee" within about the first twenty words following the start of a new paragraph
-Each paragraph that contains these words (there may be multiple paragraphs per email that will) contains the possibility for a new event, for which the program needs to do the following:
-First search for the first occurance of either "2011" or "/11" that happens after the letters "notice of trustee"
-Next search the words immediately preceding the "2011" or "/11" for the month and date... either in full format (ie: "April 3") or numerical (ie: 4/3)
-Next search the words immediately following the "2011" or "/11" for the time of day (you may have to enter a number of possible formats... ie: "am", "pm", "a.m.", "p.m.", etc)
-Next search the rest of that paragraph, before the next blank line comes, for certain words which would cause it to abort the calendaring of that paragraph's event. I'd like to be able to alter these easily at any point in the future (to easily add to or subtract from them). For example, right now I would like events from paragraphs containing the words "recontrust", "etitle", "halliday", "knowles", "marlon", or "woodall" to not be posted to the calendar. Plus, I would need it to still recognize the words I've entered even if there is a space and/or a dash in the middle of the words (ie: "recon- trust", etc. ).
-If no "canceling" words are found, as described above, then search for the word "County" (caps or not caps included). Save the word immediately preceding the word "County" and schedule an event on my Google calendar, lasting for 15 minutes, titled "X County" (with "X" being the word immediately preceding the word "County" found in that paragraph) at the correct date and time.
I believe the rules I've outlined above should capture all of the events I'm looking for and exclude the ones I don't want (though we'll need to test it once built to make sure it does all the including and excluding correctly). I really don't think this should be a very big project.
Thanks for inviting us to bid. We have done similar projects, and have the experience needed to deliver this.