Moved get message_id and reply_id to smtp.php because it's insane to get