office 365 inbox rule for listed users

$users = get-content e-mail.txt
foreach ($user in $users)
{
Get-InboxRule -Mailbox $user | Select-Object MailboxOwnerID,Name,Description,Enabled,RedirectTo, MoveToFolder,ForwardTo | Export-CSV C:\files\userlist.csv -NoTypeInformation -Append }