[DM-MUG] How to add metadata to Mail emails to help with Spotlight searches.

Bryan Baker dmmug@dmmug.org
Thu, 19 May 2005 13:45:48 -0500


I think that Mail has an applescript object for the subject line, it=20
might be able to manipulate it for you. Yes, it's part of the "message"=20=

class:

Class message: An email message
Plural form:
	messages
Elements:
	bcc recipient
	cc recipient
	recipient
	to recipient
	header
Properties:
	<Inheritance>  item  [r/o]  -- inherits elements and properties =
of the=20
item class.
	all headers  plain text  [r/o]  -- All the headers of the =
message
	background color  =
blue/gray/green/none/orange/other/purple/red/yellow =20
-- The background color of the message
	mailbox  mailbox  -- The mailbox in which this message is filed
	content  text  -- Contents of an email message
	date received  date  [r/o]  -- The date a message was received
	date sent  date  [r/o]  -- The date a message was sent
	deleted status  boolean  -- Indicates whether the message is =
deleted=20
or not
	flagged status  boolean  -- Indicates whether the message is =
flagged=20
or not
	junk mail status  boolean  -- Indicates whether the message has =
been=20
marked junk or evaluated to be junk by the junk mail filter.
	read status  boolean  -- Indicates whether the message is read =
or not
	message id  plain text  [r/o]  -- The unique message ID string
	source  plain text  [r/o]  -- Raw source of the message
	reply to  plain text  -- The address that replies should be sent =
to
	message size  integer  -- The size (in bytes) of a message
	sender  plain text  -- The sender of the message
=3D-->	subject  plain text  -- The subject of the message
	was forwarded  boolean  -- Indicates whether the message was =
forwarded=20
or not
	was redirected  boolean  -- Indicates whether the message was=20
redirected or not
	was replied to  boolean  -- Indicates whether the message was =
replied=20
to or not


On May 19, 2005, at 11:55 AM, Victoria L. Herring wrote:
> That is a VERY good if hassling work around...which is why one has=20
> Automator isn't it? I'll give it a whirl and see if I can create an=20
> Automator that will do this fairly easily [I have Quickkeys too which=20=

> I could try too]
>
> Thanks...
>
>
>> Hey there,
>>
>> How about this for a sneaky work-around...
>>
>> Move the mail to the drafts folder, then double click on it. You can=20=

>> then change the subject. When you save it, however, it will look like=20=

>> that email came from you, so add their name or something while you=20
>> are editing the subject to still find them.
>>
>> - =DFailey
>>
>>
>> On May 19, 2005, at 11:32 AM, Bailey Ford wrote:
>>
>>>     One reason, of many, that I still use Eudora to get my main mail=20=

>>> is that I can edit the subject lines - so that if an email comes in=20=

>>> saying alot of good stuff but not saying a client's name or topic=20
>>> for instance, I just open the message and alter subject line =3D put=20=

>>> in "Smith harassment same-sex" and even if the actual contents of=20
>>> the email did not include those ideas, it does now.
>>> Spotlight so far CAN identify emails containing search wording but=20=

>>> not perfectly yet [mainly can find the folders they are in, not the=20=

>>> messages totally]. Eudora is changing to upgrade to Tiger compatible=20=

>>> Spotlight capacity, but Mail is now that way.  If a Mail message had=20=

>>> those words in its body or subject, they'd show up in the spotlight.=20=

>>>  But, if they did not, then they would not.  So, as with other=20
>>> documents I've mentioned earlier [where you can Get Info and add=20
>>> metadata in the comments section] it's easy enough to do this....but=20=

>>> I can't figure out how in Mail.
>>>
>>>     I sent this feature request in to Apple a year or more ago and=20=

>>> have since then, without results.  I can't believe it is impossible=20=

>>> to do, but went into a Message in Mail and ther is nothing in the=20
>>> menu bar that allows me to do any editting of a Mail message to=20
>>> accomplish this.
>>>
>>>     Does anyone have any other ideas???  Yes, I know I can forward a=20=

>>> message back to me with the subject line changed but that just=20
>>> creates a duplicate message and is, really, more hassle than just=20
>>> being able to edit a subject line or otherwise add metadata.
>>>
>>>     Ideas.???
>
> --
> Victoria L. Herring, Attorney, Civil Rights, Discrimination &=20
> Employment Law, <http://www.HerringLaw.com>;  Travel research and=20
> planning, <http://www.JourneyZing.com>;  Des Moines, Iowa,=20
> 515-255-4475.
> _______________________________________________
> Dmmug mailing list
> Use this Address to send mail to the list:
> Dmmug@dmmug.org
> Use this page to modify subscription options:
> http://cialug.org/mailman/listinfo/dmmug
>
--
Bryan Baker
Technology Advocate
Iowa Legal Aid
Suite 230
1111 9th Street
Des Moines, Ia 50314-2527

(515) 243-2151 (x1635)

http://www.iowalegalaid.org
bbaker@iowalaw.org