title: SeleniumRC code to get message text of email and locate the perticular mail with/without using XPath
body: <p>I am new to Selenium RC and am using Selenium+Java+Eclipse.</p>
  
  <p>I have a requirement to Open my Gmail and Click on an email, then read the email and click the links in the body part of that mail.</p>
  
  <ol>
  <li><p>In standard mode of GMail, I am unable to locate any of the mail. Any clue how to do this? Below is the code I applied, but unsuccessfully.</p>
  
  <pre><code>selenium.clickAt("/html/body/table[2]/tbody/tr/td[2]/table[1]/tbody/tr/td[2]/form/table[2]/tbody/tr[4]/td[3]/a/span", "0,0");
  </code></pre></li>
  <li><p>In HTML mode of Gmail, using XPath I am unable to locate the particular mail every time because of new emails in the inbox. Any idea how to handle this?</p></li>
  <li><p>Any idea how to get the message text of the mail? If I use <code>Selenium.getText("xpath")</code> then the message text will be changing with new emails in the inbox. How can I achieve this?</p></li>
  </ol>
  
  <p>Is there any other way without using XPath?</p>