1. Mail Collector: the collector works as a Windows service and will connect to Gmail (every minute) and download from new emails attachments and save the attachments in a subfolder named after the sender of the mail. The UI allows:
a. to define mail address/password
b. to select Start/Stop of collector
c. to select a specific folder in Gmail from which the mails are read
d. to define a start date/time from when the mails are read (the value is updated with every new mail read so that no duplicate mails will enter; Note that in case 2 mails are received at the same minute both have to be collected of course)
e. Flag: overwrite existing files: Y/N (in case N and same file name is encountered a counter will be added at the end of the file name)
Components (if they should be installed) should be without charge.
2. Web interface of which a user can view his mails and attachments and the Administrator can define new users
As this is for prototype the WebInterface does not have to be complete.
All of the following relates to the WebInterface:
REQ 1: The name of the page on top will be MailCollector.
REQ 2: Main language: English
REQ 3: The login screen has the following fields and buttons:
Username (email address), Password, Forgot password, New user
REQ 4: New user – A pop-up screen will appear with the following information:
First name, Last name, Password, Confirm password, Car registration nr. , Car details, Mobile phone nr., Email address, Emergency contact email (to be changed in future to mobile number), flag of: I agree with Terms and conditions (link to open page). Send button.
REQ 5: When Send button is pressed the user will get a message: Your registration has been successful. You should receive an email to the first email address provided. In case you do not find it please verify your Spam-folder or resend.” (note: as this is demo version, there is no need for email and the user is automatically opened).
After login the page contains:
REQ 6: About Us – No need to open page
REQ 7: Contact Us – No need to open page
REQ 8: Terms & Conditions – No need to open page
REQ 9: My account – No need to open page
REQ 10: A list of emails that belong to the user with the following fields:
Date and Time, Link to picture (Attachment), Email address, Mobile Phone number, location (taken from metadata in picture) as link, if available. When clicking the location data Google maps is opened with correct location.
REQ 11: The pictures (downloads) are attached to the right user based on the email address. The information will be imported automatically into the database.
REQ 12: Database: Access 2003 or free database utility
REQ 13: A continuous scan will be performed on the database on newly received messages. Once a new message is received the system will check 2 entries back for the same user and verify if in the last 5 minutes 3 emails (or more) have been received. If so, an email (in future SMS) will be sent to the emergency contact with text (depending on language) and information regarding the driver, eg:
Urgency required: This is an automatic message by your location service. We have received in the last 5 minutes 3 emails from <First Name> <Last Name> <Contact Number1> <<Contact Number2> with the last known location <Longtitude>-<Lattitude>. This could be an emergency call and you are asked to contact the driver.