個別のemails.to値を取得するために、次のMYSQLがありますが、以下の結果を参照してください。
SELECT DISTINCT `emails`.`to`,`emails`.`from` as fromEmail, `emails`.`time` as timestamp
FROM `emails`
WHERE ((`emails`.`from` = 'sdadr@googlemail.com')
OR (`emails`.`to` = '887'))
AND (`emails`.`to` != 0)
ORDER BY `id` DESC LIMIT 4
-
to fromEmail timestamp
370 sdadr@googlemail.com 2012-08-15 16:52:15
1923 sdadr@googlemail.com 2012-08-15 10:54:48
890 sdadr@googlemail.com 2012-08-15 10:43:06
890 sdadr@googlemail.com 2012-08-15 10:43:02
なぜ繰り返し890を返すのですか?