You can use the following code in agent to read a csv file and create documents in notes database. Run the agent on server for better performance
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim fileCSV As String
Dim username As String
Dim userid As String
Dim email As string
Dim i As Integer
Dim filenum As Integer
i =0
Set db = session.CurrentDatabase
filenum% = FreeFile()
fileCSV = "C:\temp\export.csv"
Open fileCSV For Input As filenum%
Do Until EOF(filenum%)
Input #filenum%, username, userid, email
Set doc = db.CreateDocument
With doc
.username = username
.userId = userid
.email = email
.form = "user"
End With
Call doc.save(False, False)
i = i +1
Loop
To open the documents you have to create the form "user"