Josiah wrote:
> This is actually a very fascinating idea. I personally think it could
> be accomplished and would be pleased if it was. As long as:
>
> - The parsing does not slow down the receiving process much/at all.
> Now, this doesn't sound like it would cause much slow down, but
> suppose someone sets up to pull every hour, and on that hour they
> receive a hundred emails, will trying to detect countries lag that
> process. I doubt it, but it must be considered.
Considering everything else that goes on when email is loaded, including
the fact that the header has to be parsed anyway to get the
To:/From:/Date:/Subject:/etc, I'm sure the time to parse "Received:"
lines would be negligible.
> - You will be willing to take most of the back-end work. There may be
> a few free developers available, but most of the time everyone is very
> busy, so as long as you are willing to do most of the heavy-lifting,
> be my guest.
I don't know anything about the front-end/UI. When a message is
downloaded or displayed, I'll be happy to provide a routine that is fed
the email headers, and that routine will extract the information needed
and return a list of country codes. There are already public domain
images of flags (small to medium size) that can be used for display.
> I really like the idea of being able to filter countries, and allowing
> users to have a visual cue to where the email has been sent from. Now,
> is it possible. I would say yes it is, but someone else should really
> verify this other than me.
I know it's possible - I just can't do it (all) myself.
Looks good, but I'm envisioning the flag images being placed
side-by-side in the header (and wrapping if necessary) similar to how
the To: line is displayed.
> The idea would be to add another column to the message list, and allow
> little, lightweight images to show up there. Also, we can have a
> little flag button in the message viewer (here I designated it as an
> "F"), and when that button it toggled, show up to three flags.
I like adding the "flags" column to the summary pane.
> (This is just a really quick sketch, and the design could change
> later. E.G. Having a bunch of flags in the mail list causes scrolling
> lag, then the idea will need to be changed.)
If the headers have so many flags that it causes "scrolling lag", then
it's probably not a legitimate email in the first place, so performance
considerations should be moot.
> Anyway, for now I would suggest filing a bug on Bugzilla, and asking
> more about this idea on
irc.mozilla.org -> #maildev.
Thanks, I'll look into that.
Patrick