On Tue, Jan 26, 2010 at 2:14 PM, LuKreme <[email protected]> wrote:
> On 25-Jan-10 10:10, Thomas Worrall wrote:
>>
>> To assign labels, I propose that Letters has a standard labels UI. On
>> a normal IMAP server we do something (assign a custom header? Dunno)
>> to apply the label. On Gmail, our plugin intercepts the Apply Label
>> action and sends the IMAP command to move it to the appropriate
>> folder.
>
> I think you lost the thread there. TO assign a label on gmail, you simoply
> assign it and it then shows up in the right smart mailbox automatically. If
> you *drag* a message to a gmail mailbox, it doesn't move the message, it
> simply applies that label (and you can move the same message to multiple
> smart mailboxes on gmail because you can apply multiple labels).

I think I wasn't clear. I know that Gmail exposes its labels as
mailboxes when connecting over IMAP. I'm proposing that we don't show
those mailboxes in our sidebar, but instead have a separate UI for
labels, for example a popup menu by each message. (Yes, a popup menu
probably isn't the best idea, but it's an example.)

When the user is using Gmail, and they choose a label from this menu,
Letters does an IMAP move-to-folder action to tell Gmail what the user
means.

When the user is using another service and they choose a label,
Letters does some form of add-metadata action to tell the server what
the user means.

Advantage: same UI to do the same conceptual action, even though it's
actually implemented differently in terms of the tech.

> I agree that all of gmail should be a plugin, but a plugin that ships with
> the application, and hopefully shows off most of what a plugin can do (which
> is going to be just about anything, right?)

I disagree with "just about anything": we can't just have a plugin
interface that's open ended enough for that, it's not really possible.
I think we have loads of very specific plugin hooks. For example, to
facilitate the Gmail plugin I just described, we need Letters to
_already have_ a Label assigning interface, and a plugin hook that
lets plugin code intercept an Assign Label action.
_______________________________________________
[email protected] mailing list
List help: http://lists.ranchero.com/listinfo.cgi/email-init-ranchero.com

Reply via email to