> What I want is to check incoming emails.
> If the subject contains a certain keyword, it does something.
>
> Can you give me some idea how to get it done?
Did you check my reply about using the builtin
Application object?
If you just need to move, delete or forward the mail
you could also set up rules where you can setup a
condition like some words in the subject.
Tools->Rules and notifications